MDL-69110 table: Remove commented code

This commit is contained in:
Andrew Nicols
2020-07-06 13:25:31 +08:00
parent 1ffdc39468
commit a95f458cde
-1
View File
@@ -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);