summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-xclasses/rssutils.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php
index f942fad31..fe4c0a8a3 100755
--- a/classes/rssutils.php
+++ b/classes/rssutils.php
@@ -1196,7 +1196,7 @@ class RSSUtils {
if (!$cache->exists($local_filename)) {
$file_content = fetch_file_contents(array("url" => $src, "max_size" => MAX_CACHE_FILE_SIZE));
- if ($file_content && strlen($file_content) > MIN_CACHE_FILE_SIZE) {
+ if ($file_content) {
$cache->put($local_filename, $file_content);
}
} else if (is_writable($local_filename)) {
@@ -1230,7 +1230,7 @@ class RSSUtils {
$file_content = fetch_file_contents(array("url" => $src, "max_size" => MAX_CACHE_FILE_SIZE));
- if ($file_content && strlen($file_content) > MIN_CACHE_FILE_SIZE) {
+ if ($file_content) {
$cache->put($local_filename, $file_content);
}
} else if ($cache->isWritable($local_filename)) {