concrete/src/Updater/Update.php
public static function isCurrentVersionNewerThanDatabaseVersion()
    {
        $app = Application::getFacadeApplication();
        $db = $app->make(Connection::class);
        $config = $app->make('config');
        $database = $db->fetchColumn('select max(version) from SystemDatabaseMigrations');
        $code = $config->get('concrete.version_db');

        return $database < $code;
    }
public static function isCurrentVersionNewerThanDatabaseVersion()
    {
        $app = Application::getFacadeApplication();
        $db = $app->make(Connection::class);
        $config = $app->make('config');
        $database = $db->fetchColumn('select max(version) from SystemDatabaseMigrations');
        $code = $config->get('concrete.version_db');

        return $database < $code;
    }
public static function isCurrentVersionNewerThanDatabaseVersion ( ) { $ app = Application :: getFacadeApplication ( ) ; $ db = $ app -> make ( Connection :: class ) ; $ config = $ app -> make ( 'config' ) ; $ database = $ db -> fetchColumn ( 'select max(version) from SystemDatabaseMigrations' ) ; $ code = $ config -> get ( 'concrete.version_db' ) ; return $ database < $ code ; }
Checks migrations to see if the current code DB version is greater than that registered in the database.
Checks migrations to see if the current code DB version is greater than that registered in the database .