From 7f9a293d2ae3d177a3b3bddcd2f9cdab25184f46 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Thu, 30 Jan 2003 10:35:50 +0000 Subject: [PATCH] I should be more careful when working with copy&paste... --- ChangeLog | 2 ++ server_processlist.php3 | 10 ---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index d6e945dbf..57c820c2d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ $Source$ 2003-01-30 Alexander M. Turek * main.php3, user_details.php3, libraries/user_details.js: Removed the old user management. + * server_processlist.php3: Fixed a bug the denied the access to the + process list for normal users. 2003-01-29 Marc Delisle * tbl_select.php3: drop-down for enums, thanks to Joerg Klein (j0erch) diff --git a/server_processlist.php3 b/server_processlist.php3 index 3b644a656..49f9ac0ae 100644 --- a/server_processlist.php3 +++ b/server_processlist.php3 @@ -36,16 +36,6 @@ echo '

' . "\n" . '

' . "\n"; -/** - * Checks if the user is allowed to do what he tries to... - */ -if (!$is_superuser && !$cfg['ShowMysqlVars']) { - echo $strNoPrivileges; - include('./footer.inc.php3'); - exit; -} - - /** * Sends the query and buffers the result */