OC_xx all live in the legacy folder
This commit is contained in:
parent
0b64a0c369
commit
5a5a5b2032
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue