\OCP is handled by composer autoloader

remotes/origin/throw-loginexception-failed-login
Roeland Jago Douma 10 years ago committed by Vincent Petry
parent 59a85a4c76
commit 802be173da
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
  1. 2
      lib/autoloader.php

@ -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);

Loading…
Cancel
Save