Merge pull request #15968 from owncloud/enc-wrapper-presetup

use the preSetup hook to ensure the encryption wrapper is applied correctly
This commit is contained in:
Thomas Müller 2015-04-30 14:14:31 +02:00
commit 42097bfc6a
1 changed files with 1 additions and 1 deletions

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