Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-12-19 20:29:38 +0400
committerBjoern Schiessle <schiessle@owncloud.com>2013-12-19 22:20:17 +0400
commit2f568c97661dbc7eb5b35a538896703e28cf2b3b (patch)
tree742bf39840653143e5a9de9d7920c544346f2fd0 /apps/files_encryption/lib
parentc4c972fd2fd25a8f83f785f8fba8d98ce3e5041a (diff)
fix rename of shared files
Diffstat (limited to 'apps/files_encryption/lib')
-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 17bcac5c585..0f63e1aca98 100755
--- a/apps/files_encryption/lib/helper.php
+++ b/apps/files_encryption/lib/helper.php
@@ -59,6 +59,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');
}