From c952adabb553ef1ee0a3c8ff6125e0048f750428 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 6 Apr 2016 11:01:17 +0200 Subject: Remove OC/Core autoloading from old autoloader --- lib/autoloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 { -- cgit v1.2.3