aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-04-30 13:28:06 +0200
committerRobin Appelman <icewind@owncloud.com>2015-04-30 13:28:06 +0200
commitd0ad69aa9cfd68f81f47dfb785b2f5aad4ae29f8 (patch)
treefc02f4b0218142e366bfbe4c1d9553aea48ae6ae /lib/base.php
parentd308ec4f0ea54e8cb0c99228a480da8cb7cf30a8 (diff)
downloadnextcloud-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.php2
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() {