Skip to content

Commit 842cf5c

Browse files
authored
CTP-3753 comment out unused vars (#8)
1 parent e890ae2 commit 842cf5c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

renderers/object_renderer.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,9 @@ protected function render_mod_coursework_allocation_table(mod_coursework_allocat
584584
100 => 100,
585585
$all => get_string('all', 'mod_coursework')); // for boost themes instead of 'all' we can put 0, however currently it is a bug
586586

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

0 commit comments

Comments
 (0)