summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/lib/Activity.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sharebymail/lib/Activity.php')
-rw-r--r--apps/sharebymail/lib/Activity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sharebymail/lib/Activity.php b/apps/sharebymail/lib/Activity.php
index 75b1f5d7ab0..0b73d73c04c 100644
--- a/apps/sharebymail/lib/Activity.php
+++ b/apps/sharebymail/lib/Activity.php
@@ -166,7 +166,7 @@ class Activity implements IExtension {
switch ($activity['subject']) {
case self::SUBJECT_SHARED_EMAIL_BY:
// Group by file name
- return 0;
+ return 1;
case self::SUBJECT_SHARED_EMAIL_SELF:
// Group by user/group
return 1;
@@ -260,7 +260,7 @@ class Activity implements IExtension {
case self::SUBJECT_SHARED_EMAIL_SELF:
return (string) $l->t('Shared with %2$s', $params);
case self::SUBJECT_SHARED_EMAIL_BY:
- return (string) $l->t('Shared with %3$s by %2ks', $params);
+ return (string) $l->t('Shared with %3$s by %2$s', $params);
}
return false;