mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Merge pull request #26378 from nextcloud/backport/25500/stable20
[stable20] fix(translation): replace static error message
This commit is contained in:
commit
1e3e339e69
1 changed files with 2 additions and 1 deletions
|
|
@ -542,7 +542,8 @@ class Manager implements IManager {
|
|||
$this->groupManager->getUserGroupIds($sharedWith)
|
||||
);
|
||||
if (empty($groups)) {
|
||||
throw new \Exception('Sharing is only allowed with group members');
|
||||
$message_t = $this->l->t('Sharing is only allowed with group members');
|
||||
throw new \Exception($message_t);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue