summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/cropphoto.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/cropphoto.php')
-rwxr-xr-xapps/contacts/ajax/cropphoto.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/contacts/ajax/cropphoto.php b/apps/contacts/ajax/cropphoto.php
index 09bdbbc439a..125dd107602 100755
--- a/apps/contacts/ajax/cropphoto.php
+++ b/apps/contacts/ajax/cropphoto.php
@@ -24,8 +24,8 @@
// Check if we are a user
-OC_JSON::checkLoggedIn();
-OC_JSON::checkAppEnabled('contacts');
+OCP\JSON::checkLoggedIn();
+OCP\JSON::checkAppEnabled('contacts');
$tmp_path = $_GET['tmp_path'];
$id = $_GET['id'];
@@ -35,4 +35,4 @@ $tmpl->assign('tmp_path', $tmp_path);
$tmpl->assign('id', $id);
$page = $tmpl->fetchPage();
-OC_JSON::success(array('data' => array( 'page' => $page )));
+OCP\JSON::success(array('data' => array( 'page' => $page )));