diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2022-08-19 10:07:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 10:07:43 +0200 |
commit | 1784406fa770abb066f9e7d9714e2ca49b9b0aae (patch) | |
tree | bb8da1f9d5981e6d65ded4d74189755a2aad7559 /lib/Db | |
parent | c09cca75b50d94b2d0d14f43b1136527364573d0 (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.php | 2 |
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(); } /** |