summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/share/dropdown.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/share/dropdown.php')
-rwxr-xr-xapps/calendar/ajax/share/dropdown.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/share/dropdown.php b/apps/calendar/ajax/share/dropdown.php
index 988e18c0b03..bac487f0d0b 100755
--- a/apps/calendar/ajax/share/dropdown.php
+++ b/apps/calendar/ajax/share/dropdown.php
@@ -10,7 +10,7 @@ $user = OCP\USER::getUser();
$calid = $_GET['calid'];
$calendar = OC_Calendar_Calendar::find($calid);
if($calendar['userid'] != $user){
- OC_JSON::error();
+ OCP\JSON::error();
exit;
}
$tmpl = new OC_Template('calendar', 'share.dropdown');