sanity check: only check whether DAEMON_REFRESH_ONLY is defined

This commit is contained in:
Andrew Dolgov 2007-09-25 05:08:29 +01:00
parent 0b89603694
commit 55826adcec
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@
$err_msg = __("config: option COUNTERS_MAX_AGE expected, but not defined");
}
if (defined('DAEMON_REFRESH_ONLY') && DAEMON_REFRESH_ONLY != true) {
if (defined('DAEMON_REFRESH_ONLY')) {
$err_msg = __("config: option DAEMON_REFRESH_ONLY is obsolete. Please remove this option and read about other ways to update feeds on the <a href='http://tt-rss.spb.ru/trac/wiki/UpdatingFeeds'>wiki</a>.");
}