Remove commented out code.

This commit is contained in:
Andrew McMillan 2006-11-09 16:16:36 +13:00
parent a3f37f6833
commit 5e4361de28

View File

@ -279,9 +279,6 @@ else {
if ( $type_filters != '' ) { if ( $type_filters != '' ) {
$where .= " AND caldav_data.caldav_type IN ( $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 ); $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 ) { if ( $qry->Exec("REPORT",__LINE__,__FILE__) && $qry->rows > 0 ) {