mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue