From: Thomas Tanghus Date: Wed, 6 Jun 2012 09:46:11 +0000 (+0200) Subject: Corrected typos. X-Git-Tag: v4.5.0beta1~74^2~423^2~37 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ca0108aabf0c922d44c0a9ae984e479278909bcb;p=nextcloud-server.git Corrected typos. --- diff --git a/apps/calendar/ajax/share/share.php b/apps/calendar/ajax/share/share.php index 3ce2bf1e217..629a7b6b79f 100644 --- a/apps/calendar/ajax/share/share.php +++ b/apps/calendar/ajax/share/share.php @@ -13,7 +13,7 @@ switch($idtype){ case 'event': break; default: - OCP\JSON::error(array('message'=>'unexspected parameter')); + OCP\JSON::error(array('message'=>'unexpected parameter')); exit; } if($idtype == 'calendar' && !OC_Calendar_App::getCalendar($id)){ @@ -32,7 +32,7 @@ switch($sharetype){ case 'public': break; default: - OCP\JSON::error(array('message'=>'unexspected parameter')); + OCP\JSON::error(array('message'=>'unexpected parameter')); exit; } if($sharetype == 'user' && !OCP\User::userExists($sharewith)){ @@ -44,7 +44,7 @@ if($sharetype == 'group' && !OC_Group::groupExists($sharewith)){ exit; } if($sharetype == 'user' && OCP\USER::getUser() == $sharewith){ - OCP\JSON::error(array('meesage'=>'you can not share with yourself')); + OCP\JSON::error(array('message'=>'you can not share with yourself')); } $success = OC_Calendar_Share::share(OCP\USER::getUser(), $sharewith, $sharetype, $id, (($idtype=='calendar') ? OC_Calendar_Share::CALENDAR : OC_Calendar_Share::EVENT)); if($success){