MDL-69110 table: Remove commented code
This commit is contained in:
@@ -1306,7 +1306,6 @@ class flexible_table {
|
||||
|
||||
if (array_key_exists($sortby, $sortdata)) {
|
||||
// This key already exists somewhere. Change its sortorder and bring it to the top.
|
||||
//$sortorder = $sortdata[$sortby] = $sortorder;
|
||||
unset($sortdata[$sortby]);
|
||||
}
|
||||
$sortdata = array_merge([$sortby => $sortorder], $sortdata);
|
||||
|
||||
Reference in New Issue
Block a user