Skip to content

Commit 76ab59c

Browse files
committed
Remove unused code
1 parent 6a3f3c9 commit 76ab59c

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

system/Database/BaseBuilder.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2661,10 +2661,6 @@ protected function _deleteBatch(string $table, array $keys, array $values): stri
26612661
return ''; // @codeCoverageIgnore
26622662
}
26632663

2664-
$updateFields = $this->QBOptions['updateFields'] ??
2665-
$this->updateFields($keys, false, $constraints)->QBOptions['updateFields'] ??
2666-
[];
2667-
26682664
$alias = $this->QBOptions['alias'] ?? '_u';
26692665

26702666
$sql = 'DELETE ' . $table . ' FROM ' . $table . "\n";

system/Database/Postgre/Builder.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,6 @@ protected function _deleteBatch(string $table, array $keys, array $values): stri
420420
return ''; // @codeCoverageIgnore
421421
}
422422

423-
$updateFields = $this->QBOptions['updateFields'] ??
424-
$this->updateFields($keys, false, $constraints)->QBOptions['updateFields'] ??
425-
[];
426-
427423
$alias = $this->QBOptions['alias'] ?? '_u';
428424

429425
$sql = 'DELETE FROM ' . $table . "\n";

0 commit comments

Comments
 (0)