Move authentication to it's own call
This commit is contained in:
parent
ac7fb1b23e
commit
7c4abce373
|
@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue