Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_accesscontrol.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-08-18 16:31:33 +0300
committerGitHub <noreply@github.com>2022-08-18 16:31:33 +0300
commit59600b5e670f13d37c57358195c41e4ff056d44b (patch)
treefa70aafdb2538e2e7e3f32081ea8b9949cf857cb
parentf7f93a47d7554b08d7243a8846b6dcff1b12de50 (diff)
parent27d3b5c06b01a9c26c10985e857b3656b5cb3bdd (diff)
Merge pull request #253 from nextcloud/backport/248/stable22
[stable22] don't exclude shared storage from wrapper
-rw-r--r--lib/AppInfo/Application.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 0406f69..bd177aa 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -23,7 +23,6 @@ namespace OCA\FilesAccessControl\AppInfo;
use OC;
use OC\Files\Filesystem;
-use OCA\Files_Sharing\SharedStorage;
use OCA\FilesAccessControl\Listener\FlowRegisterOperationListener;
use OCA\FilesAccessControl\Operation;
use OCA\FilesAccessControl\StorageWrapper;
@@ -55,7 +54,7 @@ class Application extends App implements IBootstrap {
* @return StorageWrapper|IStorage
*/
public function addStorageWrapperCallback($mountPoint, IStorage $storage) {
- if (!OC::$CLI && !$storage->instanceOfStorage(SharedStorage::class) && $mountPoint !== '/') {
+ if (!OC::$CLI && $mountPoint !== '/') {
/** @var Operation $operation */
$operation = $this->getContainer()->get(Operation::class);
return new StorageWrapper([