fix: fixup for lint

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2025-08-18 11:30:02 -04:00 committed by GitHub
parent 7dbe1dfa81
commit b930082426
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {