Move authentication to it's own call

This commit is contained in:
Lukas Reschke 2014-05-28 21:43:48 +02:00 committed by Thomas Müller
parent ac7fb1b23e
commit 7c4abce373
3 changed files with 6 additions and 3 deletions

View File

@ -715,7 +715,8 @@ class OC {
OC_App::loadApps();
} else {
// For guests: Load only authentication, filesystem and logging
OC_App::loadApps(array('authentication', 'filesystem', 'logging'));
OC_App::loadApps(array('authentication'));
OC_App::loadApps(array('filesystem', 'logging'));
}
}

View File

@ -26,7 +26,8 @@ try {
// Load all required applications
\OC::$REQUESTEDAPP = $app;
OC_App::loadApps(array('authentication', 'filesystem', 'logging'));
OC_App::loadApps(array('authentication'));
OC_App::loadApps(array('filesystem', 'logging'));
OC_Util::checkAppEnabled($app);
OC_App::loadApp($app);

View File

@ -26,7 +26,8 @@ try {
// Load all required applications
\OC::$REQUESTEDAPP = $app;
OC_App::loadApps(array('authentication', 'filesystem', 'logging'));
OC_App::loadApps(array('authentication'));
OC_App::loadApps(array('filesystem', 'logging'));
switch ($app) {
case 'core':