[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Preferences: clear cached default preferences with prefs cache

"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a353b43e9946_37a79e64844c0@gitlab-sidekiq-low-urgency-cpu-bound-v2-798c48c846-8l275.mail>

ushindi bienvenu pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
2605637e by MAGENE Sem Joel at 2026-06-19T12:33:31+00:00
[FIX] Preferences: clear cached default preferences with prefs cache
---
* [FIX] Preferences: clear cached default preferences with prefs cache

See merge request tikiwiki/tiki!10554

- - - - -


1 changed file:

- lib/core/Cache/CacheLib.php


Changes:

=====================================
lib/core/Cache/CacheLib.php
=====================================
@@ -132,6 +132,7 @@ class CacheLib
             $this->flush_memcache();
             $this->flush_redis();
             $this->invalidate('global_preferences');
+            $this->invalidate('tiki_default_preferences_cache');
             if (! $skipLog) {
                 $logslib->add_log($log_section, 'erased all cache content');
             }
@@ -162,6 +163,7 @@ class CacheLib
         }
         if (in_array('prefs', $dir_names)) {
             $this->invalidate('global_preferences');
+            $this->invalidate('tiki_default_preferences_cache');
         }
     }
 



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/2605637e0020be00c2e3d38ccb093e39c06b60b4

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/2605637e0020be00c2e3d38ccb093e39c06b60b4
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.