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:
commit
42097bfc6a
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue