From acde2f50411f724e10db4fb03e073d9f522c2a7f Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 16 Apr 2026 14:49:03 -0400 Subject: [PATCH] fix(apps): filter autoloading registration by app type too in loadApps Signed-off-by: Josh --- lib/private/App/AppManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php index 8176ce4723c..2859e00aa8f 100644 --- a/lib/private/App/AppManager.php +++ b/lib/private/App/AppManager.php @@ -256,7 +256,7 @@ class AppManager implements IAppManager { // Add each apps' folder as allowed class path foreach ($apps as $app) { // If the app is already loaded then autoloading it makes no sense - if (!$this->isAppLoaded($app)) { + if (!$this->isAppLoaded($app) && ($types === [] || $this->isType($app, $types))) { try { $path = $this->getAppPath($app); \OC_App::registerAutoloading($app, $path);