We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d76b763 commit 5a41c60Copy full SHA for 5a41c60
1 file changed
lib/private/Share20/Manager.php
@@ -45,6 +45,7 @@
45
use OC\KnownUser\KnownUserService;
46
use OC\Share20\Exception\ProviderException;
47
use OCA\Files_Sharing\AppInfo\Application;
48
+use OCA\Files_Sharing\SharedStorage;
49
use OCP\EventDispatcher\IEventDispatcher;
50
use OCP\Files\File;
51
use OCP\Files\Folder;
@@ -602,7 +603,7 @@ protected function setLinkParent(IShare $share) {
602
603
// No sense in checking if the method is not there.
604
if (method_exists($share, 'setParent')) {
605
$storage = $share->getNode()->getStorage();
- if ($storage->instanceOfStorage('\OCA\Files_Sharing\ISharedStorage')) {
606
+ if ($storage->instanceOfStorage(SharedStorage::class)) {
607
/** @var \OCA\Files_Sharing\SharedStorage $storage */
608
$share->setParent($storage->getShareId());
609
}
0 commit comments