Skip to content
Permalink
Browse files

Removing dead code

This function is not called anywhere, and it actually contains code that will throw errors
  • Loading branch information...
lorenzo committed Dec 23, 2015
1 parent 6769bf2 commit 5de35b20be74144666d16e6380f62cff6e48415a
Showing with 0 additions and 19 deletions.
  1. +0 −19 src/Database/Expression/QueryExpression.php
@@ -650,25 +650,6 @@ protected function _parseCondition($field, $value)
return new Comparison($expression, $value, $type, $operator);
}
/**
* Returns an array of placeholders that will have a bound value corresponding
* to each value in the first argument.
*
* @param string $field Database field to be used to bind values
* @param array $values The values to bind
* @param string $type the type to be used to bind the values
* @return array
*/
protected function _bindMultiplePlaceholders($field, $values, $type)
{
$type = str_replace('[]', '', $type);
$params = [];
foreach ($values as $value) {
$params[] = $this->_bindValue($field, $value, $type);
}
return implode(', ', $params);
}
/**
* Clone this object and its subtree of expressions.
*

0 comments on commit 5de35b2

Please sign in to comment.
You can’t perform that action at this time.