summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-02-28 16:12:46 +0100
committerGitHub <noreply@github.com>2019-02-28 16:12:46 +0100
commitc67507d33b046edc556bff11a21443eef851d3c5 (patch)
tree3b500cbc1dbaec901c95bd932405c057a077ffd3
parent7519a9a9903565f53d6b656fbd328a83df6011b9 (diff)
parentebbe8aad89df2ee659d242d39254695aff00c3a2 (diff)
downloadnextcloud-server-c67507d33b046edc556bff11a21443eef851d3c5.tar.gz
nextcloud-server-c67507d33b046edc556bff11a21443eef851d3c5.zip
Merge pull request #14442 from nextcloud/tech-debt/noid/remove-app-classpath
Remove not used appinfo/classpath.php check
-rw-r--r--lib/base.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/base.php b/lib/base.php
index d5149fc0449..1c9aaaf7b01 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -456,20 +456,6 @@ class OC {
return \OC::$server->getConfig()->getSystemValue('session_lifetime', 60 * 60 * 24);
}
- public static function loadAppClassPaths() {
- foreach (OC_App::getEnabledApps() as $app) {
- $appPath = OC_App::getAppPath($app);
- if ($appPath === false) {
- continue;
- }
-
- $file = $appPath . '/appinfo/classpath.php';
- if (file_exists($file)) {
- require_once $file;
- }
- }
- }
-
/**
* Try to set some values to the required Nextcloud default
*/
@@ -905,9 +891,6 @@ class OC {
\OC::$server->getEventLogger()->start('handle_request', 'Handle request');
$systemConfig = \OC::$server->getSystemConfig();
- // load all the classpaths from the enabled apps so they are available
- // in the routing files of each app
- OC::loadAppClassPaths();
// Check if Nextcloud is installed or in maintenance (update) mode
if (!$systemConfig->getValue('installed', false)) {