Skip to content

Commit

Permalink
CTP-3753 remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
watson8 committed Aug 28, 2024
1 parent 3024b55 commit ea6ed96
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 @@ -585,8 +585,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 ea6ed96

Please sign in to comment.