You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!$this->shareManager->outgoingServer2ServerSharesAllowed()) {
773
-
thrownewOCSForbiddenException($this->l->t('Sharing %1$s failed because the back end does not allow shares from type %2$s', [$node->getPath(), $shareType]));
774
-
}
775
-
776
763
if ($shareWith === null) {
777
764
thrownewOCSNotFoundException($this->l->t('Please specify a valid federated account ID'));
if (!$this->shareManager->outgoingServer2ServerGroupSharesAllowed()) {
785
-
thrownewOCSForbiddenException($this->l->t('Sharing %1$s failed because the back end does not allow shares from type %2$s', [$node->getPath(), $shareType]));
786
-
}
787
-
788
771
if ($shareWith === null) {
789
772
thrownewOCSNotFoundException($this->l->t('Please specify a valid federated group ID'));
790
773
}
@@ -1043,12 +1026,6 @@ private function validateLinkSharePermissions(Node $node, int $permissions, ?boo
0 commit comments