Merge pull request #3974 from nextcloud/fix-reshare-activity-message

Fix reshare with user activity message
This commit is contained in:
Morris Jobke 2017-03-21 16:55:15 -06:00 committed by GitHub
commit e46ffe82f7

View file

@ -80,7 +80,7 @@ class Users extends Base {
} else if ($event->getSubject() === self::SUBJECT_UNSHARED_USER_SELF) {
$subject = $this->l->t('You removed {user} from {file}');
} else if ($event->getSubject() === self::SUBJECT_RESHARED_USER_BY) {
$subject = $this->l->t('{actor} removed {user} from {file}');
$subject = $this->l->t('{actor} shared {file} with {user}');
} else if ($event->getSubject() === self::SUBJECT_UNSHARED_USER_BY) {
$subject = $this->l->t('{actor} removed {user} from {file}');
} else if ($event->getSubject() === self::SUBJECT_SHARED_WITH_BY) {