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/FrontController.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/FrontController.php')
-rw-r--r-- | core/FrontController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/FrontController.php b/core/FrontController.php index bd473bba8f..8136b520bf 100644 --- a/core/FrontController.php +++ b/core/FrontController.php @@ -396,7 +396,8 @@ class FrontController extends Singleton */ Piwik::postEvent('Request.dispatchCoreAndPluginUpdatesScreen'); - Updater::throwIfPiwikVersionIsOlderThanDBSchema(); + $updater = new Updater(); + $updater->throwIfPiwikVersionIsOlderThanDBSchema(); // TODO: really should have a method like this \Piwik\Plugin\Manager::getInstance()->installLoadedPlugins(); |