diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-04-30 13:28:06 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-04-30 13:28:06 +0200 |
commit | d0ad69aa9cfd68f81f47dfb785b2f5aad4ae29f8 (patch) | |
tree | fc02f4b0218142e366bfbe4c1d9553aea48ae6ae /lib/base.php | |
parent | d308ec4f0ea54e8cb0c99228a480da8cb7cf30a8 (diff) | |
download | nextcloud-server-d0ad69aa9cfd68f81f47dfb785b2f5aad4ae29f8.tar.gz nextcloud-server-d0ad69aa9cfd68f81f47dfb785b2f5aad4ae29f8.zip |
use the preSetup hook to ensure the encryption wrapper is applied correctly
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 7e6183520e1..ec875480662 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() { |