summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-01-22 16:12:50 +0400
committerAndrew Dolgov <[email protected]>2013-01-22 16:12:50 +0400
commitc5e3995f8cb1a2e40ec48d6ee3f0cc56bbbc1356 (patch)
tree8cde2ec6c50db1c1de2a8a8561b298afe3ce66aa /include
parent5cb17306485c6ca468cf4e986e4c46ee9c495671 (diff)
disable content caching if _FEEDS_CONTENT_CACHE is not enabled
Diffstat (limited to 'include')
-rw-r--r--include/rssfuncs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index bc3cad704..b20c7958c 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -562,7 +562,7 @@
_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) {
_debug("update_rss_feed: caching content (initial)...");
}
@@ -796,7 +796,7 @@
$cached_content_needs_update = true;
}
- if ($cache_content) {
+ if (defined('_FEEDS_CONTENT_CACHE') && _FEEDS_CONTENT_CACHE && $cache_content) {
if ($debug_enabled) {
_debug("update_rss_feed: caching content because original checksum changed...");
}