use the preSetup hook to ensure the encryption wrapper is applied correctly

This commit is contained in:
Robin Appelman 2015-04-30 13:28:06 +02:00
parent d308ec4f0e
commit d0ad69aa9c

View file

@ -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() {