[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_3_2-2091-gd6fa1d8

Michal Čihař nijel at users.sourceforge.net
Thu Apr 29 14:02:47 CEST 2010


The branch, master has been updated
       via  d6fa1d8595b3a1f2d0a5f5ea933d6e6fd96ceb9d (commit)
      from  382ce6e7add4d92ce5809fe15f5bb659fadd33a3 (commit)


- Log -----------------------------------------------------------------
commit d6fa1d8595b3a1f2d0a5f5ea933d6e6fd96ceb9d
Author: Michal Čihař <mcihar at novell.com>
Date:   Thu Apr 29 14:02:30 2010 +0200

    Add docblock, whitespace leanup.

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

Summary of changes:
 db_tracking.php |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/db_tracking.php b/db_tracking.php
index c2dde64..46f2544 100644
--- a/db_tracking.php
+++ b/db_tracking.php
@@ -5,7 +5,9 @@
  * @package phpMyAdmin
  */
 
-// Run common work
+/**
+ * Run common work
+ */
 require_once './libraries/common.inc.php';
 require_once './libraries/Table.class.php';
 
@@ -95,7 +97,7 @@ if (PMA_DBI_num_rows($all_tables_result) > 0) {
         $table_query = ' SELECT * FROM ' .
              PMA_backquote($GLOBALS['cfg']['Server']['pmadb']) . '.' .
              PMA_backquote($GLOBALS['cfg']['Server']['tracking']) .
-             ' WHERE `db_name` = \'' . PMA_sqlAddslashes($_REQUEST['db']) . '\' AND `table_name`  = \'' . PMA_sqlAddslashes($table_name) . '\' AND `version` = \'' . $version_number . '\''; 
+             ' WHERE `db_name` = \'' . PMA_sqlAddslashes($_REQUEST['db']) . '\' AND `table_name`  = \'' . PMA_sqlAddslashes($table_name) . '\' AND `version` = \'' . $version_number . '\'';
 
         $table_result = PMA_query_as_controluser($table_query);
         $version_data = PMA_DBI_fetch_array($table_result);
@@ -122,7 +124,7 @@ if (PMA_DBI_num_rows($all_tables_result) > 0) {
         </tr>
         <?php
         if ($style == 'even') {
-            $style = 'odd'; 
+            $style = 'odd';
         } else {
             $style = 'even';
         }
@@ -177,7 +179,7 @@ if (isset($my_tables)) {
             </tr>
         <?php
             if ($style == 'even') {
-                $style = 'odd'; 
+                $style = 'odd';
             } else {
                 $style = 'even';
             }


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list