Skip to content

Commit 6c37b16

Browse files
committed
fix restore of multiple folders with many files from trash_bin
related to #44504 Signed-off-by: Matthieu Gallien <[email protected]>
1 parent 21a0009 commit 6c37b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Files/Cache/Cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ public function moveFromCache(ICache $sourceCache, $sourcePath, $targetPath) {
691691
for ($i = 1; $i <= $retryLimit; $i++) {
692692
try {
693693
$this->connection->beginTransaction();
694-
$query->executeStatement();
694+
$query->execute();
695695
break;
696696
} catch (\OC\DatabaseException $e) {
697697
$this->connection->rollBack();

0 commit comments

Comments
 (0)