The branch, master has been updated via 3c55511e5c81d479575f9527a0e5b2267440c872 (commit) from 7322e858f078860612422c25a907f46aecbd2ba8 (commit)
- Log ----------------------------------------------------------------- commit 3c55511e5c81d479575f9527a0e5b2267440c872 Author: Piotr Przybylski piotrprz@gmail.com Date: Sun Jun 26 18:27:27 2011 +0200
Use Create_time instead of CREATE_TIME
-----------------------------------------------------------------------
Summary of changes: libraries/Table.class.php | 4 ++-- libraries/display_tbl.lib.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libraries/Table.class.php b/libraries/Table.class.php index cec5b66..fddf614 100644 --- a/libraries/Table.class.php +++ b/libraries/Table.class.php @@ -1338,7 +1338,7 @@ class PMA_Table } else if ($property == self::PROP_COLUMN_ORDER) { if (isset($this->uiprefs[$property])) { // check if the table has not been modified - if (self::sGetStatusInfo($this->db_name, $this->name, 'CREATE_TIME') == + if (self::sGetStatusInfo($this->db_name, $this->name, 'Create_time') == $this->uiprefs['CREATE_TIME']) { return $this->uiprefs[$property]; } else { @@ -1374,7 +1374,7 @@ class PMA_Table } // we want to save the create time if the property is PROP_COLUMN_ORDER if ($property == self::PROP_COLUMN_ORDER) { - $curr_create_time = self::sGetStatusInfo($this->db_name, $this->name, 'CREATE_TIME'); + $curr_create_time = self::sGetStatusInfo($this->db_name, $this->name, 'Create_time'); if (isset($table_create_time) && $table_create_time == $curr_create_time) { $this->uiprefs['CREATE_TIME'] = $curr_create_time; diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php index 85eac32..cb37ee4 100644 --- a/libraries/display_tbl.lib.php +++ b/libraries/display_tbl.lib.php @@ -405,7 +405,7 @@ function PMA_displayTableNavigation($pos_next, $pos_prev, $sql_query, $id_for_di } // generate table create time echo '<input id="table_create_time" type="hidden" value="' . - PMA_Table::sGetStatusInfo($GLOBALS['db'], $GLOBALS['table'], 'CREATE_TIME') . '" />'; + PMA_Table::sGetStatusInfo($GLOBALS['db'], $GLOBALS['table'], 'Create_time') . '" />'; } // generate hints echo '<input id="col_order_hint" type="hidden" value="' . __('Drag to reorder') . '" />';
hooks/post-receive