aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/Propagator.php
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-10-16 10:41:21 +0200
committerGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-10-17 09:21:07 +0200
commitc254855222ca2776ccaa9c362b84295391cdd208 (patch)
tree0209b59a3dff7bd3a50629dfb6c8376e02dc43af /lib/private/Files/Cache/Propagator.php
parent4100f583f03464978e622f5765bbef33e363c97f (diff)
downloadnextcloud-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 'lib/private/Files/Cache/Propagator.php')
-rw-r--r--lib/private/Files/Cache/Propagator.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/private/Files/Cache/Propagator.php b/lib/private/Files/Cache/Propagator.php
index bbeb8c42075..cdf9ca9991a 100644
--- a/lib/private/Files/Cache/Propagator.php
+++ b/lib/private/Files/Cache/Propagator.php
@@ -45,7 +45,6 @@ class Propagator implements IPropagator {
$this->ignore = $ignore;
}
-
/**
* @param string $internalPath
* @param int $time
@@ -200,13 +199,13 @@ class Propagator implements IPropagator {
$query->setParameter('time', $item['time'], IQueryBuilder::PARAM_INT);
$query->setParameter('hash', $item['hash']);
- $query->execute();
+ $query->executeStatement();
if ($item['size']) {
$sizeQuery->setParameter('size', $item['size'], IQueryBuilder::PARAM_INT);
$sizeQuery->setParameter('hash', $item['hash']);
- $sizeQuery->execute();
+ $sizeQuery->executeStatement();
}
}