diff options
author | diosmosis <benaka@piwik.pro> | 2015-02-25 05:09:02 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-02-25 06:36:53 +0300 |
commit | fd305b4f1d3362b016050ca72892e26a688921e8 (patch) | |
tree | 1d1a44503e5116a73e3408b64822c3be7ffbfa88 /core/Updates.php | |
parent | 8b486b679f0a78926fd81b69c79d51ac09538e50 (diff) |
Refs #7276, initial backwards compatible refactor of updater classes (moved CoreUpdater static functions to core/Updater class, remove use of static methods in Updater, don't use static method setUpdater in ColumnsUpdater).
Diffstat (limited to 'core/Updates.php')
-rw-r--r-- | core/Updates.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Updates.php b/core/Updates.php index 85e7e589ab..36f538cddc 100644 --- a/core/Updates.php +++ b/core/Updates.php @@ -24,7 +24,7 @@ abstract class Updates * // and user will have to manually run the query * ) */ - static function getSql() + static function getSql(Updater $updater) { return array(); } @@ -32,7 +32,7 @@ abstract class Updates /** * Incremental version update */ - static function update() + static function update(Updater $updater) { } |