From 434a1205344a71a0750c283fe9fac70f3ff82cfc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 16 Apr 2016 17:04:51 +0200 Subject: owncloud: sync with Fedora --- owncloud-8.2.3-google-autoloader.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 owncloud-8.2.3-google-autoloader.patch (limited to 'owncloud-8.2.3-google-autoloader.patch') diff --git a/owncloud-8.2.3-google-autoloader.patch b/owncloud-8.2.3-google-autoloader.patch new file mode 100644 index 0000000..bf94192 --- /dev/null +++ b/owncloud-8.2.3-google-autoloader.patch @@ -0,0 +1,29 @@ +diff --git a/apps/files_external/ajax/oauth2.php b/apps/files_external/ajax/oauth2.php +index fbe60e1..bc7d285 100644 +--- a/apps/files_external/ajax/oauth2.php ++++ b/apps/files_external/ajax/oauth2.php +@@ -25,9 +25,6 @@ + * along with this program. If not, see + * + */ +-set_include_path(get_include_path().PATH_SEPARATOR. +- \OC_App::getAppPath('files_external').'/3rdparty/google-api-php-client/src'); +-require_once 'Google/Client.php'; + + OCP\JSON::checkAppEnabled('files_external'); + OCP\JSON::checkLoggedIn(); +diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php +index eba2ee7..9ed0de1 100644 +--- a/apps/files_external/lib/google.php ++++ b/apps/files_external/lib/google.php +@@ -35,10 +35,6 @@ namespace OC\Files\Storage; + + use Icewind\Streams\IteratorDirectory; + +-set_include_path(get_include_path().PATH_SEPARATOR. +- \OC_App::getAppPath('files_external').'/3rdparty/google-api-php-client/src'); +-require_once 'Google/Client.php'; +-require_once 'Google/Service/Drive.php'; + + class Google extends \OC\Files\Storage\Common { + -- cgit