Merge pull request #36114 from nextcloud/perf/autoloader/drop-legacy-loader

perf(autoloader): Drop legacy class autoloader
pull/37276/head
Joas Schilling 2023-03-16 16:38:00 +07:00 committed by GitHub
commit 4d4a223b05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

@ -298,8 +298,6 @@ class OC_App {
require_once $path . '/composer/autoload.php';
} else {
\OC::$composerAutoloader->addPsr4($appNamespace . '\\', $path . '/lib/', true);
// Register on legacy autoloader
\OC::$loader->addValidRoot($path);
}
// Register Test namespace only when testing