disable content caching if _FEEDS_CONTENT_CACHE is not enabled
This commit is contained in:
parent
5cb1730648
commit
c5e3995f8c
|
@ -562,7 +562,7 @@
|
||||||
_debug("update_rss_feed: base guid [$entry_guid] not found");
|
_debug("update_rss_feed: base guid [$entry_guid] not found");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($cache_content) {
|
if (defined('_FEEDS_CONTENT_CACHE') && _FEEDS_CONTENT_CACHE && $cache_content) {
|
||||||
if ($debug_enabled) {
|
if ($debug_enabled) {
|
||||||
_debug("update_rss_feed: caching content (initial)...");
|
_debug("update_rss_feed: caching content (initial)...");
|
||||||
}
|
}
|
||||||
|
@ -796,7 +796,7 @@
|
||||||
$cached_content_needs_update = true;
|
$cached_content_needs_update = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($cache_content) {
|
if (defined('_FEEDS_CONTENT_CACHE') && _FEEDS_CONTENT_CACHE && $cache_content) {
|
||||||
if ($debug_enabled) {
|
if ($debug_enabled) {
|
||||||
_debug("update_rss_feed: caching content because original checksum changed...");
|
_debug("update_rss_feed: caching content because original checksum changed...");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue