diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-05-19 15:31:32 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-05-20 16:35:07 +0200 |
commit | 802be173dae6d77dea2bb94cde0aadb27d350857 (patch) | |
tree | 93484c515537a6c784aa202e9204b8668aa33916 /lib/autoloader.php | |
parent | 59a85a4c76b80658d9373e3acf4f71b872b244a0 (diff) | |
download | nextcloud-server-802be173dae6d77dea2bb94cde0aadb27d350857.tar.gz nextcloud-server-802be173dae6d77dea2bb94cde0aadb27d350857.zip |
\OCP is handled by composer autoloader
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r-- | lib/autoloader.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php index 73783603438..89b66a426a7 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); |