Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@novell.com>2010-04-29 16:02:30 +0400
committerMichal Čihař <mcihar@novell.com>2010-04-29 16:02:30 +0400
commitd6fa1d8595b3a1f2d0a5f5ea933d6e6fd96ceb9d (patch)
tree428fb232b11a42fdaca1c870262033c8563ebf24 /db_tracking.php
parent382ce6e7add4d92ce5809fe15f5bb659fadd33a3 (diff)
Add docblock, whitespace leanup.
Diffstat (limited to 'db_tracking.php')
-rw-r--r--db_tracking.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/db_tracking.php b/db_tracking.php
index c2dde64eb9..46f2544d1c 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';
}