mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 11:31:28 +00:00
cache schema version better
This commit is contained in:
@@ -12,8 +12,7 @@ class DbUpdater {
|
||||
}
|
||||
|
||||
function get_schema_version() {
|
||||
$row = $this->pdo->query("SELECT schema_version FROM ttrss_version")->fetch();
|
||||
return (int) $row['schema_version'];
|
||||
return Config::get_schema_version(true);
|
||||
}
|
||||
|
||||
function is_update_required() {
|
||||
|
||||
Reference in New Issue
Block a user