Skip to content

Commit

Permalink
CTP-3753 comment out unused vars (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
watson8 authored Aug 28, 2024
1 parent e890ae2 commit 842cf5c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions renderers/object_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,9 @@ protected function render_mod_coursework_allocation_table(mod_coursework_allocat
100 => 100,
$all => get_string('all', 'mod_coursework')); // for boost themes instead of 'all' we can put 0, however currently it is a bug

$single_select_params = compact('sortby', 'sorthow', 'page');
$single_select_params['page'] = '0';
// Commenting these out as they appear unused and are causing exception in behat test.
// $single_select_params = compact('sortby', 'sorthow', 'page');
// $single_select_params['page'] = '0';
$select = new single_select($this->page->url, 'per_page', $records_per_page, $options['perpage'], null);
$select->label = get_string('records_per_page', 'coursework');
$select->class = 'jumpmenu';
Expand Down

0 comments on commit 842cf5c

Please sign in to comment.