From 2ca1f249badd33c56779d71bc012a286dcc23299 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 2 Nov 2006 20:25:42 +1300 Subject: [PATCH] Put some of the more recent changes from caldav.php in here ready for some further work. --- htdocs/ics.php | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/htdocs/ics.php b/htdocs/ics.php index bb83bee6..2a8dc97d 100644 --- a/htdocs/ics.php +++ b/htdocs/ics.php @@ -12,13 +12,6 @@ if ( isset($debugging) && isset($_GET['method']) ) { $_SERVER['REQUEST_METHOD'] = $_GET['method']; } -/** -* A variety of requests may set the "Depth" header to control recursion -*/ -$query_depth = (isset($_SERVER['HTTP_DEPTH']) ? $_SERVER['HTTP_DEPTH'] : 0); -if ( $query_depth == 'infinite' ) $query_depth = 99; -$query_depth = intval($query_depth); - /** * Our path is /