[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11126-g8b9b538

Michal Čihař nijel at users.sourceforge.net
Thu Jul 21 11:33:31 CEST 2011


The branch, master has been updated
       via  8b9b538a6bb0ffa0f64e32824c6a3156799aa076 (commit)
      from  97daa8961099bfab57eb181019e2f671ec88e093 (commit)


- Log -----------------------------------------------------------------
commit 8b9b538a6bb0ffa0f64e32824c6a3156799aa076
Author: Michal Čihař <mcihar at suse.cz>
Date:   Thu Jul 21 11:34:09 2011 +0200

    Function name to match coding standards

-----------------------------------------------------------------------

Summary of changes:
 server_privileges.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/server_privileges.php b/server_privileges.php
index f86450f..5c74025 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


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list