[Pkg-owncloud-commits] [owncloud] 16/394: make sure all filesystem apps are loaded when setupFS is proceeded, to make sure the emmited setup-hook is received. Fixes #89
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:11:16 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.
commit edf3503779226dbebdd2ace2f619131f563501d1
Author: Arthur Schiwon <blizzz at owncloud.com>
Date: Sun Oct 28 13:47:53 2012 +0100
make sure all filesystem apps are loaded when setupFS is proceeded, to make sure the emmited setup-hook is received. Fixes #89
---
lib/util.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/util.php b/lib/util.php
index 98ea1da..4dc2530 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -24,6 +24,11 @@ class OC_Util {
$user = OC_User::getUser();
}
+ // load all filesystem apps before, so no setup-hook gets lost
+ if(!$RUNTIME_NOAPPS) {
+ OC_App::loadApps(array('filesystem'));
+ }
+
// the filesystem will finish when $user is not empty,
// mark fs setup here to avoid doing the setup from loading
// OC_Filesystem
--
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