X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=blobdiff_plain;f=include%2Frssfuncs.php;h=9ea2662fccd0ea07cef1b0e3f6a3344469dc0f02;hp=0a20f5d8ea4438b7caf1f6ab4bf4ad46a0ad0060;hb=857efe49e653787f5408fc014ae71efec68494d5;hpb=a94379f118d1058c66b1fbb7ba34a27a9999ced9 diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 0a20f5d8..9ea2662f 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.