Browse Source

Merge pull request #7900 from cakephp/lorenzo-patch-1

Removing dead code
Mark Story 10 years ago
parent
commit
8bebf6e4ab
1 changed files with 0 additions and 19 deletions
  1. 0 19
      src/Database/Expression/QueryExpression.php

+ 0 - 19
src/Database/Expression/QueryExpression.php

@@ -651,25 +651,6 @@ class QueryExpression implements ExpressionInterface, Countable
     }
 
     /**
-     * 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.
      *
      * @return void