From 5e4361de28ab712138e2b035262cba5e3c2fec73 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 9 Nov 2006 16:16:36 +1300 Subject: [PATCH] Remove commented out code. --- inc/caldav-REPORT.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/inc/caldav-REPORT.php b/inc/caldav-REPORT.php index caf74fa3..a81e8885 100644 --- a/inc/caldav-REPORT.php +++ b/inc/caldav-REPORT.php @@ -279,9 +279,6 @@ else { if ( $type_filters != '' ) { $where .= " AND caldav_data.caldav_type IN ( $type_filters ) "; } -// if ( $where != '' ) { -// $where = preg_replace( '#^\s*(AND|OR) #i', ' WHERE ', $where); -// } $qry = new PgQuery( "SELECT * FROM caldav_data INNER JOIN calendar_item USING(user_no, dav_name)". $where ); if ( $qry->Exec("REPORT",__LINE__,__FILE__) && $qry->rows > 0 ) {