diff options
author | Andrew Dolgov <[email protected]> | 2023-10-28 18:43:47 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-28 18:45:09 +0300 |
commit | 855695a8620a3a5ffada836fd28e04bb912bbd3a (patch) | |
tree | c1e3a4ae29ec9ad7c6180499f28b9f93ed77fac0 /classes/Prefs.php | |
parent | 0ac8710ea1b1426bf19bb502ba4921ef35cd1db6 (diff) |
add stuff necessary to run integration tests using phpunit
Diffstat (limited to 'classes/Prefs.php')
-rw-r--r-- | classes/Prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Prefs.php b/classes/Prefs.php index 9d68a14b7..6dc8a1342 100644 --- a/classes/Prefs.php +++ b/classes/Prefs.php @@ -343,7 +343,7 @@ class Prefs { $value = Config::cast_to($value, $type_hint); if ($value == $this->_get($pref_name, $owner_uid, $profile_id)) - return false; + return true; // no need to actually set this to the same value, let's just say we did $this->_set_cache($pref_name, $value, $owner_uid, $profile_id); |