summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-03-08 15:13:00 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-03-08 15:13:00 +0100
commit2d00d13a5d8f8607897455befb15c81b651c4db3 (patch)
treea3e80e6cd06b1cccabf7b04ea8eede5b8858481e /apps/files_sharing/appinfo
parent48265643446f71abc1bf903ae822c746d5938865 (diff)
downloadnextcloud-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 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index 8f9234c8228..57116698159 100644
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -15,4 +15,4 @@ OCP\Util::addScript('files_sharing', 'share');
\OC_Hook::connect('OC_Filesystem', 'post_delete', '\OC\Files\Cache\Shared_Updater', 'deleteHook');
\OC_Hook::connect('OC_Filesystem', 'post_rename', '\OC\Files\Cache\Shared_Updater', 'renameHook');
\OC_Hook::connect('OCP\Share', 'post_shared', '\OC\Files\Cache\Shared_Updater', 'shareHook');
-\OC_Hook::connect('OCP\Share', 'post_unshare', '\OC\Files\Cache\Shared_Updater', 'shareHook'); \ No newline at end of file
+\OC_Hook::connect('OCP\Share', 'pre_unshare', '\OC\Files\Cache\Shared_Updater', 'shareHook'); \ No newline at end of file