diff options
author | Mitch <[email protected]> | 2014-06-23 21:57:47 +1000 |
---|---|---|
committer | Mitch <[email protected]> | 2014-06-23 21:57:47 +1000 |
commit | 91e8e2c936a16ed3e2e3ff3c27f9d4d7eaedaa2f (patch) | |
tree | cf94ba87f9a154dcc2c9e7d6bec519029f40b266 | |
parent | 85a0d2e1d609645427fc4bf8e9cc1bfd94543d4e (diff) |
Remove code replaces by prev commit
-rw-r--r-- | idiorm.php | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -434,15 +434,6 @@ $statement->bindParam(is_int($key) ? ++$key : $key, $param, $type); } - $count = count($parameters); - for ($i = 0; $i < $count; $i++) { - $type = PDO::PARAM_STR; - if (is_null($parameters[$i])) $type = PDO::PARAM_NULL; - if (is_bool($parameters[$i])) $type = PDO::PARAM_BOOL; - if (is_int($parameters[$i])) $type = PDO::PARAM_INT; - $statement->bindParam($i + 1, $parameters[$i], $type); - } - $q = $statement->execute(); self::_log_query($query, $parameters, $connection_name, (microtime(true)-$time)); |