diff options
| author | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
|---|---|---|
| committer | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
| commit | 4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch) | |
| tree | 5c07151ae61276d334e88f6309c30d439a85c12e /lib/plugins/db | |
| parent | da0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff) | |
| parent | 97a188592c679890a25c37ab78463add76a52ff7 (diff) | |
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'lib/plugins/db')
| -rw-r--r-- | lib/plugins/db/RolePersistence.php (renamed from lib/plugins/db/RolePersistence.class.php) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/plugins/db/RolePersistence.class.php b/lib/plugins/db/RolePersistence.php index b11fa4a..54a0053 100644 --- a/lib/plugins/db/RolePersistence.class.php +++ b/lib/plugins/db/RolePersistence.php @@ -1,6 +1,6 @@ <?php /** - * RolePersistence.class.php + * RolePersistence.php * * Funktionen für das Rollenmanagement * @@ -29,7 +29,7 @@ class RolePersistence { if (self::$all_roles === null) { // read cache - $cache = StudipCacheFactory::getCache(); + $cache = \Studip\Cache\Factory::getCache(); // cache miss, retrieve from database self::$all_roles = $cache->read(self::ROLES_CACHE_KEY); @@ -675,7 +675,7 @@ class RolePersistence public static function expireRolesCache() { self::$all_roles = null; - StudipCacheFactory::getCache()->expire(self::ROLES_CACHE_KEY); + \Studip\Cache\Factory::getCache()->expire(self::ROLES_CACHE_KEY); } /** |
