Fix autoloading for new google SDK lib

remotes/origin/pre902-webupdate-encryption-repair
Vincent Petry 10 years ago
parent c23bc91198
commit 4635ed7748
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
  1. 2
      apps/files_external/ajax/oauth2.php
  2. 2
      apps/files_external/lib/Lib/Storage/Google.php

@ -28,7 +28,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/autoload.php';
OCP\JSON::checkAppEnabled('files_external');
OCP\JSON::checkLoggedIn();

@ -40,8 +40,6 @@ use Icewind\Streams\RetryWrapper;
set_include_path(get_include_path().PATH_SEPARATOR.
\OC_App::getAppPath('files_external').'/3rdparty/google-api-php-client/src');
require_once 'Google/autoload.php';
require_once 'Google/Client.php';
require_once 'Google/Service/Drive.php';
class Google extends \OC\Files\Storage\Common {

Loading…
Cancel
Save