mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 12:05:56 +00:00
feed editor: hide cache content option
This commit is contained in:
@@ -642,6 +642,8 @@ class Pref_Feeds extends Handler_Protected {
|
|||||||
$checked> <label for=\"cache_images\">".
|
$checked> <label for=\"cache_images\">".
|
||||||
__('Cache images locally')."</label>";
|
__('Cache images locally')."</label>";
|
||||||
|
|
||||||
|
|
||||||
|
if (defined('_FEEDS_CONTENT_CACHE') && _FEEDS_CONTENT_CACHE) {
|
||||||
$cache_content = sql_bool_to_bool(db_fetch_result($result, 0, "cache_content"));
|
$cache_content = sql_bool_to_bool(db_fetch_result($result, 0, "cache_content"));
|
||||||
|
|
||||||
if ($cache_content) {
|
if ($cache_content) {
|
||||||
@@ -655,6 +657,8 @@ class Pref_Feeds extends Handler_Protected {
|
|||||||
$checked> <label for=\"cache_content\">".
|
$checked> <label for=\"cache_content\">".
|
||||||
__('Cache content locally')."</label>";
|
__('Cache content locally')."</label>";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
$mark_unread_on_update = sql_bool_to_bool(db_fetch_result($result, 0, "mark_unread_on_update"));
|
$mark_unread_on_update = sql_bool_to_bool(db_fetch_result($result, 0, "mark_unread_on_update"));
|
||||||
|
|
||||||
if ($mark_unread_on_update) {
|
if ($mark_unread_on_update) {
|
||||||
|
|||||||
Reference in New Issue
Block a user