aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-11-07 15:08:56 +0100
committerBjoern Schiessle <bjoern@schiessle.org>2016-11-08 15:58:52 +0100
commit25bcd71d029dd301321f797710d6e628540adb04 (patch)
tree54f794ce839e3d1a3714c252e95d79c6a6c20ac9 /apps/files_sharing
parent3bc643ec2368a940a683e150c2ca3cc0e9df558d (diff)
downloadnextcloud-server-25bcd71d029dd301321f797710d6e628540adb04.tar.gz
nextcloud-server-25bcd71d029dd301321f797710d6e628540adb04.zip
add activity if a file was shared by mail
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/Activity.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/files_sharing/lib/Activity.php b/apps/files_sharing/lib/Activity.php
index a5aabab9acd..596043765bb 100644
--- a/apps/files_sharing/lib/Activity.php
+++ b/apps/files_sharing/lib/Activity.php
@@ -72,7 +72,6 @@ class Activity implements IExtension {
const SUBJECT_LINK_EXPIRED = 'link_expired';
const SUBJECT_LINK_BY_EXPIRED = 'link_by_expired';
- const SUBJECT_SHARED_EMAIL = 'shared_with_email';
const SUBJECT_SHARED_FILE_BY_EMAIL_DOWNLOADED = 'file_shared_with_email_downloaded';
const SUBJECT_SHARED_FOLDER_BY_EMAIL_DOWNLOADED = 'folder_shared_with_email_downloaded';
@@ -250,8 +249,6 @@ class Activity implements IExtension {
case self::SUBJECT_UNSHARED_BY:
return (string) $l->t('%2$s removed the share for %1$s', $params);
- case self::SUBJECT_SHARED_EMAIL:
- return (string) $l->t('You shared %1$s with %2$s', $params);
case self::SUBJECT_SHARED_FILE_BY_EMAIL_DOWNLOADED:
return (string) $l->t('File %1$s shared by email with %2$s was downloaded', $params);
case self::SUBJECT_SHARED_FOLDER_BY_EMAIL_DOWNLOADED:
@@ -307,8 +304,6 @@ class Activity implements IExtension {
case self::SUBJECT_SHARED_WITH_BY:
return (string) $l->t('Shared by %2$s', $params);
- case self::SUBJECT_SHARED_EMAIL:
- return (string) $l->t('Shared with %2$s', $params);
case self::SUBJECT_SHARED_FILE_BY_EMAIL_DOWNLOADED:
case self::SUBJECT_SHARED_FOLDER_BY_EMAIL_DOWNLOADED:
return (string) $l->t('Downloaded by %2$s', $params);