summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-07-02 12:24:20 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-02 12:26:06 +0200
commit7e3f8d3ac1c43f5eafe8e2740d75e635f9562f1f (patch)
tree9ef3efaaf8e382c785d24298b1a8963ca0dd7737 /apps/files_sharing/lib
parentbfcb8ffeb3bf46963cb002feec07c08643ec9d82 (diff)
downloadnextcloud-server-7e3f8d3ac1c43f5eafe8e2740d75e635f9562f1f.tar.gz
nextcloud-server-7e3f8d3ac1c43f5eafe8e2740d75e635f9562f1f.zip
Use the item name when refering to the unaccepted remote share
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/activity.php b/apps/files_sharing/lib/activity.php
index a21f57235c9..6903301a4da 100644
--- a/apps/files_sharing/lib/activity.php
+++ b/apps/files_sharing/lib/activity.php
@@ -190,12 +190,12 @@ class Activity implements IExtension {
if ($app === self::FILES_SHARING_APP) {
switch ($text) {
case self::SUBJECT_REMOTE_SHARE_RECEIVED:
+ case self::SUBJECT_REMOTE_SHARE_UNSHARED:
return array(
0 => '',// We can not use 'username' since the user is in a different ownCloud
);
case self::SUBJECT_REMOTE_SHARE_ACCEPTED:
case self::SUBJECT_REMOTE_SHARE_DECLINED:
- case self::SUBJECT_REMOTE_SHARE_UNSHARED:
return array(
0 => '',// We can not use 'username' since the user is in a different ownCloud
1 => 'file',