mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 02:31:33 -04:00
fix: fixup for lint
Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
7dbe1dfa81
commit
b930082426
1 changed files with 3 additions and 3 deletions
|
|
@ -82,7 +82,7 @@ try {
|
|||
$parts = explode('/', $file, 2);
|
||||
$app = $parts[0];
|
||||
\OC::$REQUESTEDAPP = $app;
|
||||
|
||||
|
||||
// Load all required applications
|
||||
$appManager = Server::get(IAppManager::class);
|
||||
$appManager->loadApps(['authentication']);
|
||||
|
|
@ -93,10 +93,10 @@ try {
|
|||
if (!$appManager->isEnabledForUser($app)) {
|
||||
throw new RemoteException('App not installed: ' . $app, 503); // or maybe 404?
|
||||
}
|
||||
|
||||
|
||||
// Load the app
|
||||
$appManager->loadApp($app);
|
||||
|
||||
|
||||
$baseuri = OC::$WEBROOT . '/remote.php/' . $service . '/';
|
||||
require_once $file;
|
||||
} catch (Exception $ex) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue