summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authornhirokinet <nhirokinet@nhiroki.net>2017-09-03 23:51:49 +0900
committerGitHub <noreply@github.com>2017-09-03 23:51:49 +0900
commitbaba99a7e6f99139a77019db57e5658fc97ffab2 (patch)
tree1abd471952672ef2c7d3b279e615bd95d9aeb729 /apps/dav/lib
parent0f71e3fba2fff6c946f844ba421a729720775367 (diff)
downloadnextcloud-server-baba99a7e6f99139a77019db57e5658fc97ffab2.tar.gz
nextcloud-server-baba99a7e6f99139a77019db57e5658fc97ffab2.zip
not to backquote LIMIT on CalDavBackend.php
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/CalDAV/CalDavBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php
index d078790b6f0..83ef06f29e1 100644
--- a/apps/dav/lib/CalDAV/CalDavBackend.php
+++ b/apps/dav/lib/CalDAV/CalDavBackend.php
@@ -1437,7 +1437,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
$query = "SELECT `uri`, `operation` FROM `*PREFIX*calendarchanges` WHERE `synctoken` >= ? AND `synctoken` < ? AND `calendarid` = ? ORDER BY `synctoken`";
if ($limit>0) {
- $query.= " `LIMIT` " . (int)$limit;
+ $query.= " LIMIT " . (int)$limit;
}
// Fetching all changes