Clean up some unused variables.

This is essentially 1ccc0c8c1a without the renames and some other things related to Psalm.
This commit is contained in:
wn_
2024-01-08 22:46:13 +00:00
parent f0f22c23c5
commit 8727fb3ba8
18 changed files with 13 additions and 53 deletions

View File

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