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 1111use OC \KnownUser \KnownUserService ;
1212use OC \Share20 \Exception \ProviderException ;
1313use OCA \Files_Sharing \AppInfo \Application ;
14+ use OCA \Files_Sharing \SharedStorage ;
1415use OCP \EventDispatcher \IEventDispatcher ;
1516use OCP \Files \File ;
1617use OCP \Files \Folder ;
@@ -570,7 +571,7 @@ protected function setLinkParent(IShare $share) {
570571 // No sense in checking if the method is not there.
571572 if (method_exists ($ share , 'setParent ' )) {
572573 $ storage = $ share ->getNode ()->getStorage ();
573- if ($ storage ->instanceOfStorage (' \OCA\Files_Sharing\ISharedStorage ' )) {
574+ if ($ storage ->instanceOfStorage (SharedStorage::class )) {
574575 /** @var \OCA\Files_Sharing\SharedStorage $storage */
575576 $ share ->setParent ($ storage ->getShareId ());
576577 }
You can’t perform that action at this time.
0 commit comments