summaryrefslogtreecommitdiffstats
path: root/lib/Db
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2022-08-19 10:07:43 +0200
committerGitHub <noreply@github.com>2022-08-19 10:07:43 +0200
commit1784406fa770abb066f9e7d9714e2ca49b9b0aae (patch)
treebb8da1f9d5981e6d65ded4d74189755a2aad7559 /lib/Db
parentc09cca75b50d94b2d0d14f43b1136527364573d0 (diff)
Fix deprecation warnings from Nextcloud. (#1869)
* don't use private class anymore * execute is deprecated * fix migration execute statement * fix unittest Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'lib/Db')
-rw-r--r--lib/Db/NewsMapperV2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/NewsMapperV2.php b/lib/Db/NewsMapperV2.php
index b33266f8b..36f5aaed5 100644
--- a/lib/Db/NewsMapperV2.php
+++ b/lib/Db/NewsMapperV2.php
@@ -100,7 +100,7 @@ abstract class NewsMapperV2 extends QBMapper
->setParameter('deleted_at', $oldestDelete);
}
- $builder->execute();
+ $builder->executeStatement();
}
/**