From 8b9b538a6bb0ffa0f64e32824c6a3156799aa076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 21 Jul 2011 11:34:09 +0200 Subject: [PATCH] Function name to match coding standards --- server_privileges.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server_privileges.php b/server_privileges.php index f86450fc9b..5c74025b82 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -139,7 +139,7 @@ $random_n = mt_rand(0,1000000); // a random number that will be appended to the * @param string $tablename * @return string the escaped (if necessary) $db_and_table */ -function PMA_WildcardEscapeForGrant($db_and_table, $dbname, $tablename) { +function PMA_wildcardEscapeForGrant($db_and_table, $dbname, $tablename) { if (! strlen($dbname)) { $db_and_table = '*.*'; @@ -1106,7 +1106,7 @@ if (isset($_REQUEST['change_copy'])) { * Updates privileges */ if (!empty($update_privs)) { - $db_and_table = PMA_WildcardEscapeForGrant($db_and_table, $dbname, (isset($tablename) ? $tablename : '')); + $db_and_table = PMA_wildcardEscapeForGrant($db_and_table, $dbname, (isset($tablename) ? $tablename : '')); $sql_query0 = 'REVOKE ALL PRIVILEGES ON ' . $db_and_table @@ -1182,7 +1182,7 @@ if (!empty($update_privs)) { * Revokes Privileges */ if (isset($_REQUEST['revokeall'])) { - $db_and_table = PMA_WildcardEscapeForGrant($db_and_table, $dbname, isset($tablename) ? $tablename : ''); + $db_and_table = PMA_wildcardEscapeForGrant($db_and_table, $dbname, isset($tablename) ? $tablename : ''); $sql_query0 = 'REVOKE ALL PRIVILEGES ON ' . $db_and_table