diff options
author | Thomas Citharel <tcit@tcit.fr> | 2023-02-10 12:17:27 +0100 |
---|---|---|
committer | Simon L. (Rebase PR Action) <szaimen@e.mail.de> | 2023-04-17 16:08:44 +0000 |
commit | c9a3129cb4e33efab6b65af37a2e7de117153788 (patch) | |
tree | ada6e45180a7f16b2f50e5fde77d67532b9b4c3e /build/psalm-baseline.xml | |
parent | b9520661406bc514ac16f11aeb85b1980d62f581 (diff) | |
download | nextcloud-server-c9a3129cb4e33efab6b65af37a2e7de117153788.tar.gz nextcloud-server-c9a3129cb4e33efab6b65af37a2e7de117153788.zip |
fix(CalDAV/CardDAV): put every method from Cal/CardDAV backends that does multiple DB calls in transactions
In a lot of methods we're doing read-after-writes (for instance calling
updateProperties after touching calendar objects).
There's also a lot of deleting methods that do stuff sequentially which
could cause trouble.
This should avoid this kind of issues.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'build/psalm-baseline.xml')
-rw-r--r-- | build/psalm-baseline.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 7b093cc1a4e..ac3c786f5a6 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -130,7 +130,6 @@ </MoreSpecificImplementedParamType> <NullableReturnStatement occurrences="2"> <code>null</code> - <code>null</code> </NullableReturnStatement> </file> <file src="apps/dav/lib/CalDAV/CalendarHome.php"> |