From e4e121234b00f3dc4947c65473a117b173f01bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 19 Apr 2010 14:25:17 +0200 Subject: [PATCH] There is no longer message for MySQL < 5. --- libraries/messages.inc.php | 3 +-- server_privileges.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libraries/messages.inc.php b/libraries/messages.inc.php index c1ee453cc..4bd5e39cc 100644 --- a/libraries/messages.inc.php +++ b/libraries/messages.inc.php @@ -692,8 +692,7 @@ $strPrivDescDelete = __('Allows deleting data.'); $strPrivDescDropDb = __('Allows dropping databases and tables.'); $strPrivDescDropTbl = __('Allows dropping tables.'); $strPrivDescEvent = __('Allows to set up events for the event scheduler'); -$strPrivDescExecute5 = __('Allows executing stored routines.'); -$strPrivDescExecute = __('Allows running stored procedures; has no effect in this MySQL version.'); +$strPrivDescExecute = __('Allows executing stored routines.'); $strPrivDescFile = __('Allows importing data from and exporting data into files.'); $strPrivDescGrant = __('Allows adding users and privileges without reloading the privilege tables.'); $strPrivDescIndex = __('Allows creating and dropping indexes.'); diff --git a/server_privileges.php b/server_privileges.php index ad0a8d47a..78f7d90ad 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -168,7 +168,7 @@ function PMA_extractPrivInfo($row = '', $enableHTML = FALSE) array('Create_routine_priv', 'CREATE ROUTINE', $GLOBALS['strPrivDescCreateRoutine']), array('Alter_routine_priv', 'ALTER ROUTINE', $GLOBALS['strPrivDescAlterRoutine']), array('Create_user_priv', 'CREATE USER', $GLOBALS['strPrivDescCreateUser']), - array('Execute_priv', 'EXECUTE', $GLOBALS['strPrivDescExecute5']), + array('Execute_priv', 'EXECUTE', $GLOBALS['strPrivDescExecute']), ); if (!empty($row) && isset($row['Table_priv'])) {