mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-14 08:10:13 +00:00
feed.php: remove hardcoded LIMIT ALL
This commit is contained in:
parent
c3828f491c
commit
2ebaecd3e3
@ -60,7 +60,6 @@ function caldav_get_feed( $request ) {
|
||||
$sql .= 'caldav_data.collection_id = :collection_id ';
|
||||
$params = array( ':collection_id' => $collection->resource_id() );
|
||||
}
|
||||
$c->feed_item_limit = "ALL";
|
||||
$sql .= ' ORDER BY caldav_data.modified DESC';
|
||||
$sql .= ' LIMIT '.(isset($c->feed_item_limit) ? $c->feed_item_limit : 15);
|
||||
$qry = new AwlQuery( $sql, $params );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user