piwik/core/FrontController.php
/**
     * This method ensures that Piwik Platform cannot be running when using a NEWER database.
     */
This method ensures that Piwik Platform cannot be running when using a NEWER database.
This method ensures that Piwik Platform cannot be running when using a NEWER database .
private function throwIfPiwikVersionIsOlderThanDBSchema()
    {
        $updater = new Updater();
        $dbSchemaVersion = $updater->getCurrentComponentVersion('core');
        $current = Version::VERSION;
        if (-1 === version_compare($current, $dbSchemaVersion)) {
            $messages = array(
                Piwik::translate('General_ExceptionDatabaseVersionNewerThanCodebase', array($current, $dbSchemaVersion)),
                Piwik::translate('General_ExceptionDatabaseVersionNewerThanCodebaseWait'),
                Piwik::translate('General_ExceptionContactSupportGeneric', array('', ''))
            );
            throw new DatabaseSchemaIsNewerThanCodebaseException(implode(" ", $messages));
        }
    }
private function throwIfPiwikVersionIsOlderThanDBSchema ( ) { $ updater = new Updater ( ) ; $ dbSchemaVersion = $ updater -> getCurrentComponentVersion ( 'core' ) ; $ current = Version :: VERSION ; if ( - 1 === version_compare ( $ current , $ dbSchemaVersion ) ) { $ messages = array ( Piwik :: translate ( 'General_ExceptionDatabaseVersionNewerThanCodebase' , array ( $ current , $ dbSchemaVersion ) ) , Piwik :: translate ( 'General_ExceptionDatabaseVersionNewerThanCodebaseWait' ) , Piwik :: translate ( 'General_ExceptionContactSupportGeneric' , array ( '' , '' ) ) ) ; throw new DatabaseSchemaIsNewerThanCodebaseException ( implode ( " " , $ messages ) ) ; } }
This method ensures that Piwik Platform cannot be running when using a NEWER database.
This method ensures that Piwik Platform cannot be running when using a NEWER database .
// we cannot fill in the Super User emails as we are failing before Authentication was ready