diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-03-08 15:13:00 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-03-08 15:13:00 +0100 |
commit | 2d00d13a5d8f8607897455befb15c81b651c4db3 (patch) | |
tree | a3e80e6cd06b1cccabf7b04ea8eede5b8858481e /lib/public | |
parent | 48265643446f71abc1bf903ae822c746d5938865 (diff) | |
download | nextcloud-server-2d00d13a5d8f8607897455befb15c81b651c4db3.tar.gz nextcloud-server-2d00d13a5d8f8607897455befb15c81b651c4db3.zip |
use pre_unshare hook, otherwise the share is already removed. Which means that we have no chance to determine which folder has to be updated
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/share.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index 3e5af467d67..bc404e2963f 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -406,6 +406,7 @@ class Share { \OC_Hook::emit('OCP\Share', 'pre_unshare', array( 'itemType' => $itemType, 'itemSource' => $itemSource, + 'fileSource' => $item['file_source'], 'shareType' => $shareType, 'shareWith' => $shareWith, )); |