Skip to content

Commit

Permalink
Update apps/federatedfilesharing/lib/FederatedShareProvider.php
Browse files Browse the repository at this point in the history
Co-authored-by: John Molakvoæ <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
  • Loading branch information
AndyScherzinger and skjnldsv committed May 19, 2023
1 parent fabf5ed commit b7cf9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/federatedfilesharing/lib/FederatedShareProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function create(IShare $share) {
$alreadySharedGroup = $this->getSharedWith($shareWith, IShare::TYPE_REMOTE_GROUP, $share->getNode(), 1, 0);
if (!empty($alreadyShared) || !empty($alreadySharedGroup)) {
$message = 'Sharing %1$s failed, because this item is already shared with %2$s';
$message_t = $this->l->t('Sharing %1$s failed, because this item is already shared with account %2$s', [$share->getNode()->getName(), $shareWith]);
$message_t = $this->l->t('Sharing %1$s failed, because this item is already shared with the account %2$s', [$share->getNode()->getName(), $shareWith]);
$this->logger->debug(sprintf($message, $share->getNode()->getName(), $shareWith), ['app' => 'Federated File Sharing']);
throw new \Exception($message_t);
}
Expand Down

0 comments on commit b7cf9e6

Please sign in to comment.