Merge pull request #1914 from nextcloud/downstream-26468

Remove all unneeded set_include_path()
This commit is contained in:
Morris Jobke 2016-10-26 09:55:56 +02:00 committed by GitHub
commit 0b430a82d4
1 changed files with 1 additions and 6 deletions

View File

@ -217,12 +217,7 @@ class OC {
// set the right include path
set_include_path(
OC::$SERVERROOT . '/lib/private' . PATH_SEPARATOR .
self::$configDir . PATH_SEPARATOR .
OC::$SERVERROOT . '/3rdparty' . PATH_SEPARATOR .
implode(PATH_SEPARATOR, $paths) . PATH_SEPARATOR .
get_include_path() . PATH_SEPARATOR .
OC::$SERVERROOT
implode(PATH_SEPARATOR, $paths)
);
}