diff options
author | robocoder <anthon.pang@gmail.com> | 2010-07-28 06:39:50 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-07-28 06:39:50 +0400 |
commit | a909dfd1e59e6248fda0280f0a9dbdd77961780f (patch) | |
tree | 180dc751479e5dee229f72faa9c00144e08d11bb /core/Updates.php | |
parent | 36e36e9a7e44f0d2eaeb92848c14ab055016a583 (diff) |
refs #1368 - use schema instead of adapter; in strict mode, update() can't be abstract
git-svn-id: http://dev.piwik.org/svn/trunk@2739 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Updates.php')
-rw-r--r-- | core/Updates.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/Updates.php b/core/Updates.php index 3d5e4df537..cea45d94e0 100644 --- a/core/Updates.php +++ b/core/Updates.php @@ -21,10 +21,10 @@ abstract class Piwik_Updates /** * Return SQL to be executed in this update * - * @param string Adapter name + * @param string Schema name * @return array */ - static function getSql($adapter = 'PDO_MYSQL') + static function getSql($schema = 'Myisam') { return array(); } @@ -32,5 +32,7 @@ abstract class Piwik_Updates /** * Incremental version update */ - abstract static function update(); + static function update() + { + } } |