mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Merge pull request #36114 from nextcloud/perf/autoloader/drop-legacy-loader
perf(autoloader): Drop legacy class autoloader
This commit is contained in:
commit
4d4a223b05
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue