\OCP is handled by composer autoloader

This commit is contained in:
Roeland Jago Douma 2016-05-19 15:31:32 +02:00 committed by Vincent Petry
parent 59a85a4c76
commit 802be173da
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
1 changed files with 0 additions and 2 deletions

View File

@ -102,8 +102,6 @@ class Autoloader {
}
} elseif (strpos($class, 'OC_') === 0) {
$paths[] = \OC::$SERVERROOT . '/lib/private/legacy/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
} elseif (strpos($class, 'OCP\\') === 0) {
$paths[] = \OC::$SERVERROOT . '/lib/public/' . strtolower(str_replace('\\', '/', substr($class, 4)) . '.php');
} elseif (strpos($class, 'OCA\\') === 0) {
list(, $app, $rest) = explode('\\', $class, 3);
$app = strtolower($app);