From d0ad69aa9cfd68f81f47dfb785b2f5aad4ae29f8 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 30 Apr 2015 13:28:06 +0200 Subject: [PATCH] use the preSetup hook to ensure the encryption wrapper is applied correctly --- lib/base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base.php b/lib/base.php index 7e6183520e..ec87548066 100644 --- a/lib/base.php +++ b/lib/base.php @@ -712,7 +712,7 @@ class OC { } private static function registerEncryptionWrapper() { - \OCP\Util::connectHook('OC_Filesystem', 'setup', 'OC\Encryption\Manager', 'setupStorage'); + \OCP\Util::connectHook('OC_Filesystem', 'preSetup', 'OC\Encryption\Manager', 'setupStorage'); } private static function registerEncryptionHooks() {