]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
unify houskeeping stuff, increase spawn interval
[tt-rss.git] / include / functions.php
index 72b20cd062b939042639a9cafb927cc901893e60..a41d3a950c6ba393fd827b0389ba778e08271169 100644 (file)
        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;