summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-09-04 12:10:57 +0200
committerGitHub <noreply@github.com>2017-09-04 12:10:57 +0200
commit5927a6368008975ba0e61b5e8942d9b35f6cd455 (patch)
tree0b5cb915dbb9ee57cf46798f9cbb449fa3235d3a /apps
parentc4f175d0794d368ce2429b74cbc5016ba92c785a (diff)
parentbaba99a7e6f99139a77019db57e5658fc97ffab2 (diff)
downloadnextcloud-server-5927a6368008975ba0e61b5e8942d9b35f6cd455.tar.gz
nextcloud-server-5927a6368008975ba0e61b5e8942d9b35f6cd455.zip
Merge pull request #6351 from nhirokinet/master
not to backquote LIMIT on CalDavBackend.php
Diffstat (limited to 'apps')
-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