diff options
author | Andrew Dolgov <[email protected]> | 2021-02-25 14:45:11 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-25 14:45:11 +0300 |
commit | 5aa05c90e1b979a2dd8985c10a541243e9415c39 (patch) | |
tree | 92283fb3ca48fefea73921f1b2929e4c00e50bc4 /classes/prefs.php | |
parent | 011e3189474fea78270db00bccab10e21c7ef023 (diff) |
pref-prefs: use constants instead of hardcoded strings
Diffstat (limited to 'classes/prefs.php')
-rw-r--r-- | classes/prefs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/prefs.php b/classes/prefs.php index ef925a3e9..b5f4dde76 100644 --- a/classes/prefs.php +++ b/classes/prefs.php @@ -21,7 +21,7 @@ class Prefs { const _DEFAULT_VIEW_MODE = "_DEFAULT_VIEW_MODE"; const _DEFAULT_VIEW_LIMIT = "_DEFAULT_VIEW_LIMIT"; //const _PREFS_ACTIVE_TAB = "_PREFS_ACTIVE_TAB"; - const STRIP_UNSAFE_TAGS = "STRIP_UNSAFE_TAGS"; + //const STRIP_UNSAFE_TAGS = "STRIP_UNSAFE_TAGS"; const BLACKLISTED_TAGS = "BLACKLISTED_TAGS"; const FRESH_ARTICLE_MAX_AGE = "FRESH_ARTICLE_MAX_AGE"; const DIGEST_CATCHUP = "DIGEST_CATCHUP"; @@ -77,7 +77,7 @@ class Prefs { Prefs::_DEFAULT_VIEW_MODE => [ "adaptive", Config::T_BOOL ], Prefs::_DEFAULT_VIEW_LIMIT => [ 30, Config::T_INT ], //Prefs::_PREFS_ACTIVE_TAB => [ "", Config::T_STRING ], - Prefs::STRIP_UNSAFE_TAGS => [ true, Config::T_BOOL ], + //Prefs::STRIP_UNSAFE_TAGS => [ true, Config::T_BOOL ], Prefs::BLACKLISTED_TAGS => [ 'main, generic, misc, uncategorized, blog, blogroll, general, news', Config::T_STRING ], Prefs::FRESH_ARTICLE_MAX_AGE => [ 24, Config::T_INT ], Prefs::DIGEST_CATCHUP => [ false, Config::T_BOOL ], |