OC_xx all live in the legacy folder

This commit is contained in:
Roeland Jago Douma 2016-05-13 11:10:21 +02:00
parent 0b64a0c369
commit 5a5a5b2032
No known key found for this signature in database
GPG key ID: 1E152838F164D13B

View file

@ -102,7 +102,6 @@ class Autoloader {
}
} elseif (strpos($class, 'OC_') === 0) {
$paths[] = \OC::$SERVERROOT . '/lib/private/legacy/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
$paths[] = \OC::$SERVERROOT . '/lib/private/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
} elseif (strpos($class, 'OC\\') === 0) {
$split = explode('\\', $class, 3);