Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-02-25 05:09:02 +0300
committerdiosmosis <benaka@piwik.pro>2015-02-25 06:36:53 +0300
commitfd305b4f1d3362b016050ca72892e26a688921e8 (patch)
tree1d1a44503e5116a73e3408b64822c3be7ffbfa88 /core/FrontController.php
parent8b486b679f0a78926fd81b69c79d51ac09538e50 (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.php3
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();