diff options
Diffstat (limited to 'owncloud-8.0.4-google_autoload.patch')
-rw-r--r-- | owncloud-8.0.4-google_autoload.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/owncloud-8.0.4-google_autoload.patch b/owncloud-8.0.4-google_autoload.patch new file mode 100644 index 0000000..9565bad --- /dev/null +++ b/owncloud-8.0.4-google_autoload.patch @@ -0,0 +1,23 @@ +--- owncloud/apps/files_external/lib/google.php 2015-06-04 06:43:13.000000000 -0700 ++++ owncloud/apps/files_external/lib/google.php.new 2015-07-01 15:53:19.363382205 -0700 +@@ -23,8 +23,7 @@ + + 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'; ++require_once 'Google/autoload.php'; + + class Google extends \OC\Files\Storage\Common { + +--- owncloud/apps/files_external/ajax/google.php 2015-06-04 06:43:13.000000000 -0700 ++++ owncloud/apps/files_external/ajax/google.php.new 2015-07-01 15:53:28.051505933 -0700 +@@ -1,7 +1,7 @@ + <?php + 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/autoload.php'; + + OCP\JSON::checkAppEnabled('files_external'); + OCP\JSON::checkLoggedIn(); |