summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/appinfo
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-13 14:56:39 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-13 14:56:39 +0100
commit4952dfe95657ba52f1b39f958100659539831ba8 (patch)
tree6bde1adb4eb343d64af0d3c919e3a71a4e88dfe2 /apps/files_encryption/appinfo
parenta692264fa416fec44d774bd955a06a65c7c0d158 (diff)
downloadnextcloud-server-4952dfe95657ba52f1b39f958100659539831ba8.tar.gz
nextcloud-server-4952dfe95657ba52f1b39f958100659539831ba8.zip
add post_unshare hook, also add public link shares to the list of user with access to a file
Diffstat (limited to 'apps/files_encryption/appinfo')
-rw-r--r--apps/files_encryption/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/appinfo/app.php b/apps/files_encryption/appinfo/app.php
index f83109a18ea..932e8855d07 100644
--- a/apps/files_encryption/appinfo/app.php
+++ b/apps/files_encryption/appinfo/app.php
@@ -16,7 +16,7 @@ OCP\Util::connectHook( 'OC_User', 'pre_setPassword','OCA\Encryption\Hooks', 'set
// Sharing-related hooks
OCP\Util::connectHook( 'OCP\Share', 'post_shared', 'OCA\Encryption\Hooks', 'postShared' );
-OCP\Util::connectHook( 'OCP\Share', 'pre_unshare', 'OCA\Encryption\Hooks', 'preUnshare' );
+OCP\Util::connectHook( 'OCP\Share', 'post_unshare', 'OCA\Encryption\Hooks', 'postUnshare' );
OCP\Util::connectHook( 'OCP\Share', 'pre_unshareAll', 'OCA\Encryption\Hooks', 'preUnshareAll' );
// Webdav-related hooks