1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 23:25:56 +00:00

unify houskeeping stuff, increase spawn interval

This commit is contained in:
Andrew Dolgov
2013-04-24 14:54:59 +04:00
parent 654650857f
commit e2cf81e214
6 changed files with 25 additions and 46 deletions

View File

@@ -922,7 +922,7 @@
function get_schema_version($nocache = false) {
global $schema_version;
if (!$schema_version) {
if (!$schema_version && !$nocache) {
$result = db_query("SELECT schema_version FROM ttrss_version");
$version = db_fetch_result($result, 0, "schema_version");
$schema_version = $version;