diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2024-02-13 10:26:36 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2024-02-13 21:06:31 +0100 |
commit | 4a509dfe8ec3287b513cc7d68342adc859870ee5 (patch) | |
tree | a6acc8cb7f08498e4dda9c3bce32ccb3847bb475 /apps/sharebymail | |
parent | 9593f4d6f9bac5eee9527ac591a6f39dae11d109 (diff) | |
download | nextcloud-server-4a509dfe8ec3287b513cc7d68342adc859870ee5.tar.gz nextcloud-server-4a509dfe8ec3287b513cc7d68342adc859870ee5.zip |
fix: phpunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/sharebymail')
-rw-r--r-- | apps/sharebymail/lib/ShareByMailProvider.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index d255b5e9b1a..1c7b716e1e4 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -116,8 +116,8 @@ class ShareByMailProvider implements IShareProvider { */ $alreadyShared = $this->getSharedWith($shareWith, IShare::TYPE_EMAIL, $share->getNode(), 1, 0); if (!empty($alreadyShared)) { - $message = 'Sharing %1$s failed, because this item is already shared with account %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 = 'Sharing %1$s failed, because this item is already shared with the account %2$s'; + $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); } |