Skip to content

Commit

Permalink
rex_sql: remove unused variables (#4151)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Dec 6, 2020
1 parent 5c4d2de commit cbdd6e2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions redaxo/src/core/lib/sql/sql.php
Original file line number Diff line number Diff line change
Expand Up @@ -1018,10 +1018,6 @@ public function insertOrUpdate()
return $this->setMultiRecordQuery('INSERT', true);
}

// hold a copies of the query fields for later debug out (the class property will be reverted in setQuery())
$tableName = $this->table;
$values = $this->values;

$onDuplicateKeyUpdate = $this->buildOnDuplicateKeyUpdate(array_keys(array_merge($this->values, $this->rawValues)));
$this->setQuery(
'INSERT INTO ' . $this->escapeIdentifier($this->table) . ' SET ' . $this->buildPreparedValues() . ' ' . $onDuplicateKeyUpdate,
Expand Down

0 comments on commit cbdd6e2

Please sign in to comment.