[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_2RC1-3155-gf2fe4db

Michal Čihař nijel at users.sourceforge.net
Mon Jun 6 14:13:15 CEST 2011


The branch, master has been updated
       via  f2fe4db5f1d100f29152445e4367789707007800 (commit)
      from  4603ca7001b1d39389f622671e53ee957b2adf66 (commit)


- Log -----------------------------------------------------------------
commit f2fe4db5f1d100f29152445e4367789707007800
Author: Michal Čihař <mcihar at novell.com>
Date:   Mon Jun 6 14:11:11 2011 +0200

    Remove not used code

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

Summary of changes:
 libraries/export/sql.php |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/libraries/export/sql.php b/libraries/export/sql.php
index 432aa78..b1bd457 100644
--- a/libraries/export/sql.php
+++ b/libraries/export/sql.php
@@ -681,8 +681,6 @@ function PMA_getTableDef($db, $table, $crlf, $error_url, $show_dates = false, $a
 {
     global $sql_drop_table;
     global $sql_backquotes;
-    global $cfgRelation;
-    global $sql_constraints;
     global $sql_constraints_query; // just the text of the query
     global $sql_drop_foreign_keys;
 
@@ -1044,7 +1042,6 @@ function PMA_exportStructure($db, $table, $crlf, $error_url, $relation = false,
 function PMA_exportData($db, $table, $crlf, $error_url, $sql_query)
 {
     global $sql_backquotes;
-    global $rows_cnt;
     global $current_row;
 
     $formatted_table_name = (isset($GLOBALS['sql_backquotes']))
@@ -1067,9 +1064,6 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query)
         return true;
     }
 
-    // it's not a VIEW
-    $buffer = '';
-
     // analyze the query to get the true column names, not the aliases
     // (this fixes an undefined index, also if Complete inserts
     //  are used, we did not get the true column name in case of aliases)


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list