From d5c23dbb9fed1a1b958e07ebdb7202c37bddc074 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Wed, 29 Jun 2022 15:34:06 +0200 Subject: Move CappedMemoryCache to OCP This is an helpful helper that should be used in more place than just server and this is already the case with groupfodlers, deck, user_oidc and more using it, so let's make it public Signed-off-by: Carl Schwan --- apps/user_ldap/lib/Group_LDAP.php | 2 +- apps/user_ldap/lib/Helper.php | 2 +- apps/user_ldap/lib/User/Manager.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/user_ldap') diff --git a/apps/user_ldap/lib/Group_LDAP.php b/apps/user_ldap/lib/Group_LDAP.php index 8fcb10cb850..5e3d3afc140 100644 --- a/apps/user_ldap/lib/Group_LDAP.php +++ b/apps/user_ldap/lib/Group_LDAP.php @@ -45,7 +45,7 @@ namespace OCA\User_LDAP; use Closure; use Exception; use OC; -use OC\Cache\CappedMemoryCache; +use OCP\Cache\CappedMemoryCache; use OC\ServerNotAvailableException; use OCP\Group\Backend\IGetDisplayNameBackend; use OCP\Group\Backend\IDeleteGroupBackend; diff --git a/apps/user_ldap/lib/Helper.php b/apps/user_ldap/lib/Helper.php index 3ca5de67874..6668338d195 100644 --- a/apps/user_ldap/lib/Helper.php +++ b/apps/user_ldap/lib/Helper.php @@ -29,7 +29,7 @@ */ namespace OCA\User_LDAP; -use OC\Cache\CappedMemoryCache; +use OCP\Cache\CappedMemoryCache; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IConfig; use OCP\IDBConnection; diff --git a/apps/user_ldap/lib/User/Manager.php b/apps/user_ldap/lib/User/Manager.php index e52b093f5af..655463a0ecd 100644 --- a/apps/user_ldap/lib/User/Manager.php +++ b/apps/user_ldap/lib/User/Manager.php @@ -28,7 +28,7 @@ */ namespace OCA\User_LDAP\User; -use OC\Cache\CappedMemoryCache; +use OCP\Cache\CappedMemoryCache; use OCA\User_LDAP\Access; use OCA\User_LDAP\FilesystemHelper; use OCP\IAvatarManager; -- cgit v1.2.3