use the preSetup hook to ensure the encryption wrapper is applied correctly
This commit is contained in:
parent
d308ec4f0e
commit
d0ad69aa9c
|
@ -712,7 +712,7 @@ class OC {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function registerEncryptionWrapper() {
|
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() {
|
private static function registerEncryptionHooks() {
|
||||||
|
|
Loading…
Reference in New Issue