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 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);