Skip to content

Commit

Permalink
Fix autoloading for new google SDK lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry committed May 24, 2016
1 parent c23bc91 commit 4635ed7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion apps/files_external/ajax/oauth2.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 0 additions & 2 deletions apps/files_external/lib/Lib/Storage/Google.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
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 {

Expand Down

0 comments on commit 4635ed7

Please sign in to comment.