diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-12-19 10:19:09 -0800 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-12-19 10:19:09 -0800 |
commit | f0da7b20c12c14e0fbd9cddfbe7c5c26d43e2607 (patch) | |
tree | c1bd50fc304850b79498c45539f13f275ec44439 /apps/files_encryption/lib/helper.php | |
parent | 526e8730733f1ac1be76deacf2e45fba37f6fbb8 (diff) | |
parent | 552d0a6feb137ad1144312c6e6eef1c295e41572 (diff) | |
download | nextcloud-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-x | apps/files_encryption/lib/helper.php | 1 |
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'); } |