diff options
author | Michal Čihař <michal@cihar.com> | 2017-10-10 13:28:00 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-10-10 13:28:00 +0300 |
commit | 98964e2f59a010f288000b2fed5ee5b620b6a211 (patch) | |
tree | 5b8beda2c87c74bb75b04e3373936bd39ea5b94e /sql.php | |
parent | 9c9c22e5167ef54a565209736fe33f60904082ba (diff) |
Remove is_superuser superglobal
Issue #11731
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'sql.php')
-rw-r--r-- | sql.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -152,7 +152,7 @@ if ($table != $table_from_sql && !empty($table_from_sql)) { * into account this case. */ if (Sql::hasNoRightsToDropDatabase( - $analyzed_sql_results, $cfg['AllowUserDropDatabase'], $is_superuser + $analyzed_sql_results, $cfg['AllowUserDropDatabase'], $GLOBALS['dbi']->isSuperuser() )) { Util::mysqlDie( __('"DROP DATABASE" statements are disabled.'), |