mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 13:51:28 +00:00
move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class
This commit is contained in:
@@ -55,7 +55,7 @@ class RSSUtils {
|
||||
static function update_daemon_common($limit = null, $options = []) {
|
||||
if (!$limit) $limit = Config::get(Config::DAEMON_FEED_LIMIT);
|
||||
|
||||
if (get_schema_version() != SCHEMA_VERSION) {
|
||||
if (Config::get_schema_version() != Db_Updater::SCHEMA_VERSION) {
|
||||
die("Schema version is wrong, please upgrade the database.\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user