diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/rssfuncs.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 0a20f5d8e..9ea2662fc 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -60,6 +60,12 @@ function update_daemon_common($link, $limit = DAEMON_FEED_LIMIT, $from_http = false, $debug = true) { // Process all other feeds using last_updated and interval parameters + $schema_version = get_schema_version($link); + + if ($schema_version != SCHEMA_VERSION) { + die("Schema version is wrong, please upgrade the database.\n"); + } + define('PREFS_NO_CACHE', true); // Test if the user has loggued in recently. If not, it does not update its feeds. |