diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-13 21:49:24 -0400 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-13 21:49:24 -0400 |
commit | e256ac8791eedcb3dcab1ade0927f1831e24d2e2 (patch) | |
tree | 633416cc58089606b556328d27bd1b156fe83a2f /apps/calendar/ajax | |
parent | c65adc12d5ff5beef79edcd26af698de1bdb377c (diff) | |
download | nextcloud-server-e256ac8791eedcb3dcab1ade0927f1831e24d2e2.tar.gz nextcloud-server-e256ac8791eedcb3dcab1ade0927f1831e24d2e2.zip |
fix unsharing of events
Diffstat (limited to 'apps/calendar/ajax')
-rw-r--r-- | apps/calendar/ajax/share/unshare.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/share/unshare.php b/apps/calendar/ajax/share/unshare.php index 25a0ef48fcf..5bedbaaf0a6 100644 --- a/apps/calendar/ajax/share/unshare.php +++ b/apps/calendar/ajax/share/unshare.php @@ -34,7 +34,7 @@ if($sharetype == 'user' && !OC_User::userExists($sharewith)){ OC_JSON::error(array('message'=>'group not found')); exit; } -$success = OC_Calendar_Share::unshare(OC_User::getUser(), $sharewith, $sharetype, $id, (($idtype=='calendar') ? OC_Calendar_Share::CALENDAR : OC_Calendar_Share::Event)); +$success = OC_Calendar_Share::unshare(OC_User::getUser(), $sharewith, $sharetype, $id, (($idtype=='calendar') ? OC_Calendar_Share::CALENDAR : OC_Calendar_Share::EVENT)); if($success){ OC_JSON::success(); }else{ |