[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_0BETA2-38-g871a474

Marc Delisle lem9 at users.sourceforge.net
Tue Jan 11 14:03:16 CET 2011


The branch, master has been updated
       via  871a474a9765b26dcce99249d692f0efef16c7c0 (commit)
      from  5ea6683d0e80ef4022c6509dcf6b1ad206b0c859 (commit)


- Log -----------------------------------------------------------------
commit 871a474a9765b26dcce99249d692f0efef16c7c0
Author: Marc Delisle <marc at infomarc.info>
Date:   Tue Jan 11 08:03:06 2011 -0500

    Avoid notice for undefined global

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

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

diff --git a/db_operations.php b/db_operations.php
index 94120d9..b4a4263 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -103,9 +103,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) {
         // go back to current db, just in case
         PMA_DBI_select_db($db);
 
-        if (isset($GLOBALS['add_constraints']) || $move) {
-            $GLOBALS['sql_constraints_query_full_db'] = array();
-        }
+        $GLOBALS['sql_constraints_query_full_db'] = array();
 
         $tables_full = PMA_DBI_get_tables_full($db);
         $views = array();


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list