mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
Remove commented out code.
This commit is contained in:
parent
a3f37f6833
commit
5e4361de28
@ -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 ) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user