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:
-rw-r--r--core/FrontController.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/FrontController.php b/core/FrontController.php
index f9dd3259cb..e697985f1e 100644
--- a/core/FrontController.php
+++ b/core/FrontController.php
@@ -562,6 +562,11 @@ class FrontController extends Singleton
*/
private function throwIfPiwikVersionIsOlderThanDBSchema()
{
+ // When developing this situation happens often when switching branches
+ if (Development::isEnabled()) {
+ return;
+ }
+
$updater = new Updater();
$dbSchemaVersion = $updater->getCurrentComponentVersion('core');