mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Move authentication to it's own call
This commit is contained in:
parent
ac7fb1b23e
commit
7c4abce373
3 changed files with 6 additions and 3 deletions
|
|
@ -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 a new issue