From a95f458cdecc2a10eec5992f62c32f271579abae Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Mon, 6 Jul 2020 13:25:31 +0800 Subject: [PATCH] MDL-69110 table: Remove commented code --- lib/tablelib.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/tablelib.php b/lib/tablelib.php index 476fd9bcfa6..78bade9465f 100644 --- a/lib/tablelib.php +++ b/lib/tablelib.php @@ -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);