diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-09 16:33:17 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-10 08:40:45 +0100 |
commit | c769f5775d7356211ca461489ae7c19a0f47cf03 (patch) | |
tree | f286a4b88e260566217371d0288ee29e118591ef /apps/files_sharing/lib | |
parent | 31cf3b8288583c8ea3f850286863070376304d54 (diff) | |
download | nextcloud-server-c769f5775d7356211ca461489ae7c19a0f47cf03.tar.gz nextcloud-server-c769f5775d7356211ca461489ae7c19a0f47cf03.zip |
Create the actions with the correct ID
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/external/manager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/external/manager.php b/apps/files_sharing/lib/external/manager.php index 0ced71aab2c..21729d326e5 100644 --- a/apps/files_sharing/lib/external/manager.php +++ b/apps/files_sharing/lib/external/manager.php @@ -194,7 +194,7 @@ class Manager { \OC_Hook::emit('OCP\Share', 'federated_share_added', ['server' => $share['remote']]); - $this->scrapNotification($share['remote_id']); + $this->scrapNotification($id); return true; } @@ -217,7 +217,7 @@ class Manager { $removeShare->execute(array($id, $this->uid)); $this->sendFeedbackToRemote($share['remote'], $share['share_token'], $share['remote_id'], 'decline'); - $this->scrapNotification($share['remote_id']); + $this->scrapNotification($id); return true; } |