diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2024-10-16 10:41:21 +0200 |
---|---|---|
committer | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2024-10-17 09:21:07 +0200 |
commit | c254855222ca2776ccaa9c362b84295391cdd208 (patch) | |
tree | 0209b59a3dff7bd3a50629dfb6c8376e02dc43af /core | |
parent | 4100f583f03464978e622f5765bbef33e363c97f (diff) | |
download | nextcloud-server-c254855222ca2776ccaa9c362b84295391cdd208.tar.gz nextcloud-server-c254855222ca2776ccaa9c362b84295391cdd208.zip |
chore(db): Correctly apply query types
fix: psalm
fix: error
fix: add batch
fix: fatal error
fix: add batch
chore: add batch
chore: add batch
fix: psalm
fix: typo
fix: psalm
fix: return bool
fix: revert Manager
Diffstat (limited to 'core')
-rw-r--r-- | core/Command/Preview/ResetRenderedTexts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/Preview/ResetRenderedTexts.php b/core/Command/Preview/ResetRenderedTexts.php index 12f7d237d8f..4cae315e48b 100644 --- a/core/Command/Preview/ResetRenderedTexts.php +++ b/core/Command/Preview/ResetRenderedTexts.php @@ -120,7 +120,7 @@ class ResetRenderedTexts extends Command { $qb->select('path', 'mimetype') ->from('filecache') ->where($qb->expr()->eq('fileid', $qb->createNamedParameter($this->previewFolder->getId()))); - $cursor = $qb->execute(); + $cursor = $qb->executeQuery(); $data = $cursor->fetch(); $cursor->closeCursor(); @@ -153,7 +153,7 @@ class ResetRenderedTexts extends Command { ) ); - $cursor = $qb->execute(); + $cursor = $qb->executeQuery(); while ($row = $cursor->fetch()) { yield $row; |