Merge branch 'feature/unused-var-cleanup' into 'master'

Clean up some unused variables.

See merge request tt-rss/tt-rss!19
This commit is contained in:
Andrew Dolgov
2024-01-13 18:29:30 +00:00
18 changed files with 13 additions and 53 deletions

View File

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