Skip to content

Commit 2329b14

Browse files
committed
Remove unused code
1 parent 701cdb4 commit 2329b14

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
@@ -2691,10 +2691,6 @@ protected function _deleteBatch(string $table, array $keys, array $values): stri
26912691
return ''; // @codeCoverageIgnore
26922692
}
26932693

2694-
$updateFields = $this->QBOptions['updateFields'] ??
2695-
$this->updateFields($keys, false, $constraints)->QBOptions['updateFields'] ??
2696-
[];
2697-
26982694
$alias = $this->QBOptions['alias'] ?? '_u';
26992695

27002696
$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
@@ -428,10 +428,6 @@ protected function _deleteBatch(string $table, array $keys, array $values): stri
428428
return ''; // @codeCoverageIgnore
429429
}
430430

431-
$updateFields = $this->QBOptions['updateFields'] ??
432-
$this->updateFields($keys, false, $constraints)->QBOptions['updateFields'] ??
433-
[];
434-
435431
$alias = $this->QBOptions['alias'] ?? '_u';
436432

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

0 commit comments

Comments
 (0)