Skip to content

Commit

Permalink
Removing dead code
Browse files Browse the repository at this point in the history
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 5de35b2
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/Database/Expression/QueryExpression.php
Expand Up @@ -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.
*
Expand Down

0 comments on commit 5de35b2

Please sign in to comment.