[Pkg-owncloud-commits] [owncloud] 178/215: use the preSetup hook to ensure the encryption wrapper is applied correctly
David Prévot
taffit at moszumanska.debian.org
Tue May 5 01:01:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit d0ad69aa9cfd68f81f47dfb785b2f5aad4ae29f8
Author: Robin Appelman <icewind at owncloud.com>
Date: Thu Apr 30 13:28:06 2015 +0200
use the preSetup hook to ensure the encryption wrapper is applied correctly
---
lib/base.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/base.php b/lib/base.php
index 7e61835..ec87548 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -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() {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list