diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-10-28 13:47:53 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-10-28 13:48:08 +0100 |
commit | b8a48b55a359bb56f9cdf2d4c8099394d7f0cbb1 (patch) | |
tree | 9eccb9b43b6c45c83df94397c69f409e5dfa9a3a | |
parent | 5b9ba2e0331cdfa986a090c61f33f36eca1a0f33 (diff) | |
download | nextcloud-server-b8a48b55a359bb56f9cdf2d4c8099394d7f0cbb1.tar.gz nextcloud-server-b8a48b55a359bb56f9cdf2d4c8099394d7f0cbb1.zip |
make sure all filesystem apps are loaded when setupFS is proceeded, to make sure the emmited setup-hook is received. Fixes #89
-rwxr-xr-x | lib/util.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index c49e7cfc234..f67f8d1fe3f 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 |