summaryrefslogtreecommitdiffstats
path: root/apps/files_external/ajax/google.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/ajax/google.php')
-rw-r--r--apps/files_external/ajax/google.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/ajax/google.php b/apps/files_external/ajax/google.php
index c76c7618e4d..70adcb2c2ad 100644
--- a/apps/files_external/ajax/google.php
+++ b/apps/files_external/ajax/google.php
@@ -4,6 +4,8 @@ require_once 'Google/common.inc.php';
OCP\JSON::checkAppEnabled('files_external');
OCP\JSON::checkLoggedIn();
+OCP\JSON::callCheck();
+
$consumer = new OAuthConsumer('anonymous', 'anonymous');
$sigMethod = new OAuthSignatureMethod_HMAC_SHA1();
if (isset($_POST['step'])) {