diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-05-27 22:25:39 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-05-27 22:25:39 +0300 |
commit | dc5bf0074c7be698f27aef4aa13ec03032cf45e9 (patch) | |
tree | 50ebcf9ab575056d4a3be292c53089580248dec2 /libraries/classes/Footer.php | |
parent | 6201c7f2ba1e27f13838978ef222057aec5e2432 (diff) |
Extract Table\PrivilegesController from Server\PrivilegesController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'libraries/classes/Footer.php')
-rw-r--r-- | libraries/classes/Footer.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libraries/classes/Footer.php b/libraries/classes/Footer.php index 3e9e33709e..a54bcf568a 100644 --- a/libraries/classes/Footer.php +++ b/libraries/classes/Footer.php @@ -154,7 +154,7 @@ class Footer $params['server'] = $GLOBALS['server']; // needed for server privileges tabs - if (isset($_GET['viewing_mode']) && in_array($_GET['viewing_mode'], ['server', 'db', 'table'])) { + if (isset($_GET['viewing_mode']) && in_array($_GET['viewing_mode'], ['server', 'db'])) { $params['viewing_mode'] = $_GET['viewing_mode']; } @@ -167,15 +167,6 @@ class Footer $params['checkprivsdb'] = $_GET['checkprivsdb']; } - /** - * @todo coming from /server/privileges, here $table is not set, - * add the following condition below when that is fixed - * && $_REQUEST['checkprivstable'] == $table - */ - if (isset($_GET['checkprivstable'])) { - $params['checkprivstable'] = $_GET['checkprivstable']; - } - if (isset($_REQUEST['single_table']) && in_array($_REQUEST['single_table'], [true, false])) { $params['single_table'] = $_REQUEST['single_table']; } |