]> source.dussan.org Git - nextcloud-server.git/commit
refactor(dav): Since we're in a transaction, use QB properly when incrementing synctoken 36528/head
authorThomas Citharel <tcit@tcit.fr>
Mon, 20 Mar 2023 16:45:50 +0000 (17:45 +0100)
committerSimon L. (Rebase PR Action) <szaimen@e.mail.de>
Mon, 17 Apr 2023 16:08:44 +0000 (16:08 +0000)
commitff3b69b21dad865973dfabde34c8d4cd6f951380
tree4c500be76b4f6d994e5a110549d4d20ec1c0d114
parentc9a3129cb4e33efab6b65af37a2e7de117153788
refactor(dav): Since we're in a transaction, use QB properly when incrementing synctoken

Now that we're in a transaction, we can reuse the sync token's previous value without trouble, and rewrite the increment UPDATE query without dirty direct SQL.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
apps/dav/lib/CalDAV/CalDavBackend.php
apps/dav/lib/CardDAV/CardDavBackend.php