]> source.dussan.org Git - nextcloud-server.git/commitdiff
Return proper watcher if SharedStorage originates from ExternalMount
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 12 Aug 2021 06:07:18 +0000 (08:07 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 10 Sep 2021 08:16:58 +0000 (08:16 +0000)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
apps/files_sharing/lib/SharedStorage.php

index 221d022bb1e3768518a4e66aa4359a773cc1a222..fe09102e8f6e35dda70223eb5a79891a8ecba5f2 100644 (file)
@@ -35,10 +35,12 @@ namespace OCA\Files_Sharing;
 
 use OC\Files\Cache\FailedCache;
 use OC\Files\Cache\NullWatcher;
+use OC\Files\Cache\Watcher;
 use OC\Files\Filesystem;
 use OC\Files\Storage\FailedStorage;
 use OC\Files\Storage\Wrapper\PermissionsMask;
 use OC\User\NoUserException;
+use OCA\Files_External\Config\ExternalMountPoint;
 use OCP\Constants;
 use OCP\Files\Cache\ICacheEntry;
 use OCP\Files\NotFoundException;