summaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-04-06 11:01:17 +0200
committerLukas Reschke <lukas@owncloud.com>2016-04-06 11:34:29 +0200
commitc952adabb553ef1ee0a3c8ff6125e0048f750428 (patch)
tree0b0b9e40393a53150d817d33805defbd3eb2f877 /lib/autoloader.php
parenta4b19a5b1e4079752e33d6eb75c72a47ce048bde (diff)
downloadnextcloud-server-c952adabb553ef1ee0a3c8ff6125e0048f750428.tar.gz
nextcloud-server-c952adabb553ef1ee0a3c8ff6125e0048f750428.zip
Remove OC/Core autoloading from old autoloader
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index 87a07f6da12..117672aa3c0 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -110,7 +110,7 @@ class Autoloader {
$split[1] = strtolower($split[1]);
if ($split[1] === 'core') {
- $paths[] = \OC::$SERVERROOT . '/core/' . strtolower(str_replace('\\', '/', $split[2])) . '.php';
+ // Covered by PSR-4 autoloader
} else if ($split[1] === 'settings') {
$paths[] = \OC::$SERVERROOT . '/settings/' . strtolower(str_replace('\\', '/', $split[2])) . '.php';
} else {