summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/ajax/recordClick.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/bookmarks/ajax/recordClick.php')
-rwxr-xr-x[-rw-r--r--]apps/bookmarks/ajax/recordClick.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/ajax/recordClick.php b/apps/bookmarks/ajax/recordClick.php
index a542f636d8c..6519de241b6 100644..100755
--- a/apps/bookmarks/ajax/recordClick.php
+++ b/apps/bookmarks/ajax/recordClick.php
@@ -37,7 +37,7 @@ $query = OC_DB::prepare("
AND url LIKE ?
");
-$params=array(OC_User::getUser(), htmlspecialchars_decode($_GET["url"]));
+$params=array(OCP\USER::getUser(), htmlspecialchars_decode($_GET["url"]));
$bookmarks = $query->execute($params);
header( "HTTP/1.1 204 No Content" );