aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/helper.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-12-19 10:19:09 -0800
committerBjörn Schießle <schiessle@owncloud.com>2013-12-19 10:19:09 -0800
commitf0da7b20c12c14e0fbd9cddfbe7c5c26d43e2607 (patch)
treec1bd50fc304850b79498c45539f13f275ec44439 /apps/files_encryption/lib/helper.php
parent526e8730733f1ac1be76deacf2e45fba37f6fbb8 (diff)
parent552d0a6feb137ad1144312c6e6eef1c295e41572 (diff)
downloadnextcloud-server-f0da7b20c12c14e0fbd9cddfbe7c5c26d43e2607.tar.gz
nextcloud-server-f0da7b20c12c14e0fbd9cddfbe7c5c26d43e2607.zip
Merge pull request #6517 from owncloud/fix_6510
[encryption] fix rename of shared files
Diffstat (limited to 'apps/files_encryption/lib/helper.php')
-rwxr-xr-xapps/files_encryption/lib/helper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php
index f893cf16e5a..f0b5ae7eab8 100755
--- a/apps/files_encryption/lib/helper.php
+++ b/apps/files_encryption/lib/helper.php
@@ -61,6 +61,7 @@ class Helper {
*/
public static function registerFilesystemHooks() {
+ \OCP\Util::connectHook('OC_Filesystem', 'rename', 'OCA\Encryption\Hooks', 'preRename');
\OCP\Util::connectHook('OC_Filesystem', 'post_rename', 'OCA\Encryption\Hooks', 'postRename');
}