summaryrefslogtreecommitdiff
path: root/classes/Prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2024-01-13 18:29:30 +0000
committerAndrew Dolgov <[email protected]>2024-01-13 18:29:30 +0000
commit283ad4ebea9e93a97848000f38ca91b23ce883ff (patch)
tree0b9ea618b438156b3803df115afec5e34d30e3a8 /classes/Prefs.php
parentd334023267848accb339c8ec3186be2afde3b514 (diff)
parent8727fb3ba8a28da48c71bdd39166b9aeb3c3d986 (diff)
Merge branch 'feature/unused-var-cleanup' into 'master'
Clean up some unused variables. See merge request tt-rss/tt-rss!19
Diffstat (limited to 'classes/Prefs.php')
-rw-r--r--classes/Prefs.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/classes/Prefs.php b/classes/Prefs.php
index 4426c2117..e315802a9 100644
--- a/classes/Prefs.php
+++ b/classes/Prefs.php
@@ -263,8 +263,6 @@ class Prefs {
list ($def_val, $type_hint) = self::_DEFAULTS[$pref_name];
- $cached_value = $this->_get_cache($pref_name, $owner_uid, $profile_id);
-
if ($this->_is_cached($pref_name, $owner_uid, $profile_id)) {
$cached_value = $this->_get_cache($pref_name, $owner_uid, $profile_id);
return Config::cast_to($cached_value, $type_hint);