mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 07:05:56 +00:00
move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
UserHelper::load_user_plugins($_SESSION["uid"]);
|
||||
}
|
||||
|
||||
if (Config::get_schema_version() !== SCHEMA_VERSION) {
|
||||
if (Db_Updater::is_update_required()) {
|
||||
print Errors::to_json(Errors::E_SCHEMA_MISMATCH);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user