summaryrefslogtreecommitdiff
path: root/classes/Prefs.php
diff options
context:
space:
mode:
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);