summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorMitch <[email protected]>2014-06-23 21:57:47 +1000
committerMitch <[email protected]>2014-06-23 21:57:47 +1000
commit91e8e2c936a16ed3e2e3ff3c27f9d4d7eaedaa2f (patch)
treecf94ba87f9a154dcc2c9e7d6bec519029f40b266 /idiorm.php
parent85a0d2e1d609645427fc4bf8e9cc1bfd94543d4e (diff)
Remove code replaces by prev commit
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/idiorm.php b/idiorm.php
index ed91c28..6ef5911 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -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));