not to backquote LIMIT on CalDavBackend.php

This commit is contained in:
nhirokinet 2017-09-03 23:51:49 +09:00 committed by Joas Schilling
parent fa26c3cce3
commit 73b0e76a8c
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 1 additions and 1 deletions

View File

@ -1266,7 +1266,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
$query = "SELECT `uri`, `operation` FROM `*PREFIX*calendarchanges` WHERE `synctoken` >= ? AND `synctoken` < ? AND `calendarid` = ? ORDER BY `synctoken`"; $query = "SELECT `uri`, `operation` FROM `*PREFIX*calendarchanges` WHERE `synctoken` >= ? AND `synctoken` < ? AND `calendarid` = ? ORDER BY `synctoken`";
if ($limit>0) { if ($limit>0) {
$query.= " `LIMIT` " . (int)$limit; $query.= " LIMIT " . (int)$limit;
} }
// Fetching all changes // Fetching all changes