summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-06-29 15:34:06 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-07-14 15:54:31 +0200
commitd5c23dbb9fed1a1b958e07ebdb7202c37bddc074 (patch)
treecd650f88e9597500a6ed9dc680e67641274d5c5b /apps/files_sharing
parentd3f66e2310ef790794aba81f12d7ab6a035736c3 (diff)
downloadnextcloud-server-d5c23dbb9fed1a1b958e07ebdb7202c37bddc074.tar.gz
nextcloud-server-d5c23dbb9fed1a1b958e07ebdb7202c37bddc074.zip
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 <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/MountProvider.php2
-rw-r--r--apps/files_sharing/lib/SharedMount.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/MountProvider.php b/apps/files_sharing/lib/MountProvider.php
index d27f9e5e0da..5817ece6809 100644
--- a/apps/files_sharing/lib/MountProvider.php
+++ b/apps/files_sharing/lib/MountProvider.php
@@ -28,7 +28,7 @@
*/
namespace OCA\Files_Sharing;
-use OC\Cache\CappedMemoryCache;
+use OCP\Cache\CappedMemoryCache;
use OC\Files\View;
use OCA\Files_Sharing\Event\ShareMountedEvent;
use OCP\EventDispatcher\IEventDispatcher;
diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php
index 95ff66c4b71..676e253344f 100644
--- a/apps/files_sharing/lib/SharedMount.php
+++ b/apps/files_sharing/lib/SharedMount.php
@@ -29,7 +29,7 @@
namespace OCA\Files_Sharing;
-use OC\Cache\CappedMemoryCache;
+use OCP\Cache\CappedMemoryCache;
use OC\Files\Filesystem;
use OC\Files\Mount\MountPoint;
use OC\Files\Mount\MoveableMount;