]> source.dussan.org Git - nextcloud-server.git/commitdiff
make sure all filesystem apps are loaded when setupFS is proceeded, to make sure...
authorArthur Schiwon <blizzz@owncloud.com>
Sun, 28 Oct 2012 12:47:53 +0000 (13:47 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Sun, 28 Oct 2012 12:49:33 +0000 (13:49 +0100)
lib/util.php

index 98ea1da403986fbf8eb4d07f704551c17bb56979..4dc2530225f82994785238dbc5d6e3da713ad005 100755 (executable)
@@ -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