Merge pull request #25500 from Worteks/fix-sharemanager-genericshareexception
fix(translation): replace static error message
This commit is contained in:
commit
6e461248e0
|
@ -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 New Issue