mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:56:34 +00:00
move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class
This commit is contained in:
@@ -189,7 +189,7 @@
|
||||
"Maybe another daemon is already running.\n");
|
||||
}
|
||||
|
||||
if (get_schema_version() != SCHEMA_VERSION) {
|
||||
if (Db_Updater::is_update_required()) {
|
||||
die("Schema version is wrong, please upgrade the database.\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user