diff options
Diffstat (limited to 'core/Updates/0.2.12.php')
-rw-r--r-- | core/Updates/0.2.12.php | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/core/Updates/0.2.12.php b/core/Updates/0.2.12.php index c4cc194449..f6ac41e839 100644 --- a/core/Updates/0.2.12.php +++ b/core/Updates/0.2.12.php @@ -14,22 +14,22 @@ */ class Piwik_Updates_0_2_12 extends Piwik_Updates { - static function getSql($schema = 'Myisam') - { - return array( - 'ALTER TABLE `'. Piwik_Common::prefixTable('site') .'` - CHANGE `ts_created` `ts_created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL' => false, - 'ALTER TABLE `'. Piwik_Common::prefixTable('log_visit') .'` + static function getSql($schema = 'Myisam') + { + return array( + 'ALTER TABLE `' . Piwik_Common::prefixTable('site') . '` + CHANGE `ts_created` `ts_created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL' => false, + 'ALTER TABLE `' . Piwik_Common::prefixTable('log_visit') . '` DROP `config_color_depth`' => false, - // 0.2.12 [673] - // Note: requires INDEX privilege - 'DROP INDEX index_idaction ON `'. Piwik_Common::prefixTable('log_action') .'`' => '1091', - ); - } + // 0.2.12 [673] + // Note: requires INDEX privilege + 'DROP INDEX index_idaction ON `' . Piwik_Common::prefixTable('log_action') . '`' => '1091', + ); + } - static function update() - { - Piwik_Updater::updateDatabase(__FILE__, self::getSql()); - } + static function update() + { + Piwik_Updater::updateDatabase(__FILE__, self::getSql()); + } } |