Support for DELTICKET completed.

This commit is contained in:
Andrew McMillan 2010-03-08 16:44:55 +13:00
parent bd875029a1
commit 4db6703c05
2 changed files with 2 additions and 1 deletions

View File

@ -75,6 +75,7 @@ switch ( $request->method ) {
case 'LOCK': include('caldav-LOCK.php'); break;
case 'UNLOCK': include('caldav-LOCK.php'); break;
case 'MKTICKET': include('caldav-MKTICKET.php'); break;
case 'DELTICKET': include('caldav-DELTICKET.php'); break;
case 'TESTRRULE': include('test-RRULE-v2.php'); break;

View File

@ -21,7 +21,7 @@ dbg_error_log('DELTICKET', 'method handler');
require_once('DAVResource.php');
if ( ! $request->HavePrivilegeTo('DAV::unbind') && $request->ticket->owner() != $session->principal_id ) {
$request->NeedPrivilege('DAV::unbind')
$request->NeedPrivilege('DAV::unbind');
}
if ( ! isset($request->ticket) ) {