From 802be173dae6d77dea2bb94cde0aadb27d350857 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 19 May 2016 15:31:32 +0200 Subject: [PATCH] \OCP is handled by composer autoloader --- lib/autoloader.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/autoloader.php b/lib/autoloader.php index 7378360343..89b66a426a 100644 --- a/lib/autoloader.php +++ b/lib/autoloader.php @@ -102,8 +102,6 @@ class Autoloader { } } elseif (strpos($class, 'OC_') === 0) { $paths[] = \OC::$SERVERROOT . '/lib/private/legacy/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php'); - } elseif (strpos($class, 'OCP\\') === 0) { - $paths[] = \OC::$SERVERROOT . '/lib/public/' . strtolower(str_replace('\\', '/', substr($class, 4)) . '.php'); } elseif (strpos($class, 'OCA\\') === 0) { list(, $app, $rest) = explode('\\', $class, 3); $app = strtolower($app);