summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/ajax/delBookmark.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/bookmarks/ajax/delBookmark.php')
-rwxr-xr-xapps/bookmarks/ajax/delBookmark.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/bookmarks/ajax/delBookmark.php b/apps/bookmarks/ajax/delBookmark.php
index 984a8593169..f40192943e4 100755
--- a/apps/bookmarks/ajax/delBookmark.php
+++ b/apps/bookmarks/ajax/delBookmark.php
@@ -27,8 +27,8 @@ $RUNTIME_NOSETUPFS=true;
// Check if we are a user
-OC_JSON::checkLoggedIn();
-OC_JSON::checkAppEnabled('bookmarks');
+OCP\JSON::checkLoggedIn();
+OCP\JSON::checkAppEnabled('bookmarks');
$params=array(
htmlspecialchars_decode($_GET["url"]),
@@ -59,4 +59,4 @@ $query = OC_DB::prepare("
$result = $query->execute();
// var_dump($params);
-OC_JSON::success(array('data' => array()));
+OCP\JSON::success(array('data' => array()));