File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4545use OC \KnownUser \KnownUserService ;
4646use OC \Share20 \Exception \ProviderException ;
4747use OCA \Files_Sharing \AppInfo \Application ;
48+ use OCA \Files_Sharing \SharedStorage ;
4849use OCP \EventDispatcher \IEventDispatcher ;
4950use OCP \Files \File ;
5051use OCP \Files \Folder ;
@@ -602,7 +603,7 @@ protected function setLinkParent(IShare $share) {
602603 // No sense in checking if the method is not there.
603604 if (method_exists ($ share , 'setParent ' )) {
604605 $ storage = $ share ->getNode ()->getStorage ();
605- if ($ storage ->instanceOfStorage (' \OCA\Files_Sharing\ISharedStorage ' )) {
606+ if ($ storage ->instanceOfStorage (SharedStorage::class )) {
606607 /** @var \OCA\Files_Sharing\SharedStorage $storage */
607608 $ share ->setParent ($ storage ->getShareId ());
608609 }
You can’t perform that action at this time.
0 commit comments