diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-02 12:24:20 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-02 12:26:06 +0200 |
commit | 7e3f8d3ac1c43f5eafe8e2740d75e635f9562f1f (patch) | |
tree | 9ef3efaaf8e382c785d24298b1a8963ca0dd7737 /apps/files_sharing/lib | |
parent | bfcb8ffeb3bf46963cb002feec07c08643ec9d82 (diff) | |
download | nextcloud-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.php | 2 |
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', |