aboutsummaryrefslogtreecommitdiff
path: root/lib/plugins/db
diff options
context:
space:
mode:
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);
}
/**