Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions lib/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,20 +456,6 @@ private static function getSessionLifeTime() {
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
*/
Expand Down Expand Up @@ -905,9 +891,6 @@ public static function handleRequest() {

\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)) {
Expand Down