From 4db6703c05a6fe41496dd55294dc6ca84ac4e132 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 8 Mar 2010 16:44:55 +1300 Subject: [PATCH] Support for DELTICKET completed. --- htdocs/caldav.php | 1 + inc/caldav-DELTICKET.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/caldav.php b/htdocs/caldav.php index 62409783..7b2bf497 100644 --- a/htdocs/caldav.php +++ b/htdocs/caldav.php @@ -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; diff --git a/inc/caldav-DELTICKET.php b/inc/caldav-DELTICKET.php index 4ac3fb02..40eb3cd2 100644 --- a/inc/caldav-DELTICKET.php +++ b/inc/caldav-DELTICKET.php @@ -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) ) {