summaryrefslogtreecommitdiff
path: root/classes/Prefs.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2024-01-08 22:46:13 +0000
committerwn_ <[email protected]>2024-01-08 22:46:13 +0000
commit8727fb3ba8a28da48c71bdd39166b9aeb3c3d986 (patch)
tree8047a82c148f3055a5fb5bd197bef88d55a10e7a /classes/Prefs.php
parentf0f22c23c5986d8f21f82e4a8203a164a5c4aace (diff)
Clean up some unused variables.
This is essentially https://gitlab.tt-rss.org/wn/tt-rss/-/commit/1ccc0c8c1af04dd9654b585c6d07e3a75d944a0c without the renames and some other things related to Psalm.
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 6dc8a1342..c5cf16598 100644
--- a/classes/Prefs.php
+++ b/classes/Prefs.php
@@ -260,8 +260,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);