diff options
author | Andrew Dolgov <[email protected]> | 2019-08-14 12:44:50 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-14 12:44:50 +0300 |
commit | 6914ad1f741570b66580d2933e8e2118adb177b5 (patch) | |
tree | f8a2c90dbf3b9aac401b17874936339fbe1d0861 /classes/rssutils.php | |
parent | 84974c60a7aeed1fc2f22ef170c53fec5099abd0 (diff) |
retire MIN_CACHE_FILE_SIZE
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-x | classes/rssutils.php | 4 |
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)) { |