Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-09-12 13:33:09 +0300
committerGitHub <noreply@github.com>2017-09-12 13:33:09 +0300
commit3e56503e478019fb9cd0486aea0b7d816fab8748 (patch)
tree62d36ee6e9e946e53f3dcd75cbac112285c9d4a1
parent2fb01619e43ebe6bd45ca9a5afaf809bf5cc834d (diff)
parent73b0e76a8cff0a414da64888e00d4dfe84a90d79 (diff)
Merge pull request #6445 from nextcloud/backport-6351-sql-syntax-on-caldav-11
[stable11] not to backquote LIMIT on CalDavBackend.php
-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 631593974e7..56c10aef0dd 100644
--- a/apps/dav/lib/CalDAV/CalDavBackend.php
+++ b/apps/dav/lib/CalDAV/CalDavBackend.php
@@ -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`";
if ($limit>0) {
- $query.= " `LIMIT` " . (int)$limit;
+ $query.= " LIMIT " . (int)$limit;
}
// Fetching all changes