summaryrefslogtreecommitdiffstats
path: root/apps/files_external/ajax/oauth2.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/ajax/oauth2.php')
-rw-r--r--apps/files_external/ajax/oauth2.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/ajax/oauth2.php b/apps/files_external/ajax/oauth2.php
index 9a3f2e0af6a..8a6af8f8a40 100644
--- a/apps/files_external/ajax/oauth2.php
+++ b/apps/files_external/ajax/oauth2.php
@@ -22,9 +22,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-OCP\JSON::checkAppEnabled('files_external');
-OCP\JSON::checkLoggedIn();
-OCP\JSON::callCheck();
+\OC_JSON::checkAppEnabled('files_external');
+\OC_JSON::checkLoggedIn();
+\OC_JSON::callCheck();
$l = \OC::$server->getL10N('files_external');
// TODO: implement redirect to which storage backend requested this