diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-03-31 13:37:44 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-03-31 13:37:44 +0200 |
commit | 1f8cf2d8f256535ca86d9e01afcf13114c6bd70b (patch) | |
tree | a4f5912b08741d8911eba8425a6181699c3ccd4c /apps/calendar/ajax/share/share.php | |
parent | a88305b4cbe6aa3772384a96f56b207996bfe960 (diff) | |
download | nextcloud-server-1f8cf2d8f256535ca86d9e01afcf13114c6bd70b.tar.gz nextcloud-server-1f8cf2d8f256535ca86d9e01afcf13114c6bd70b.zip |
fix name of constants
Diffstat (limited to 'apps/calendar/ajax/share/share.php')
-rw-r--r-- | apps/calendar/ajax/share/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/share/share.php b/apps/calendar/ajax/share/share.php index d892727701a..92c3eb90d3b 100644 --- a/apps/calendar/ajax/share/share.php +++ b/apps/calendar/ajax/share/share.php @@ -38,7 +38,7 @@ if($sharetype == 'group' && !OC_Group::groupExists($sharewith)){ if($sharetype == 'user' && OC_User::getUser() == $sharewith){ OC_JSON::error(array('meesage'=>'you can not share with yourself')); } -$success = OC_Calendar_Share::share(OC_User::getUser(), $sharewith, $sharetype, $id, (($idtype=='calendar') ? OC_Calendar_Share::CALENDAR : OC_Calendar_Share::Event)); +$success = OC_Calendar_Share::share(OC_User::getUser(), $sharewith, $sharetype, $id, (($idtype=='calendar') ? OC_Calendar_Share::CALENDAR : OC_Calendar_Share::EVENT)); if($success){ if($sharetype == 'public'){ OC_JSON::success(array('message'=>$success)); |