summaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-05-13 11:10:21 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-05-13 11:10:21 +0200
commit5a5a5b203290e67035aea93eb832c703278380d3 (patch)
tree4a1a22d65e9d7d709cddbfeaefbb288e82eeb653 /lib/autoloader.php
parent0b64a0c369b5596ac5a228d7f3067fed49ddcc38 (diff)
downloadnextcloud-server-5a5a5b203290e67035aea93eb832c703278380d3.tar.gz
nextcloud-server-5a5a5b203290e67035aea93eb832c703278380d3.zip
OC_xx all live in the legacy folder
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index 6a427848235..ad76dd362bb 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -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);