summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysqli
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-28 08:50:16 +0200
committeradmin <devnull@localhost>2006-09-28 08:50:16 +0200
commit33de9a144aad28763405f8ae2d5c59df5e929b4f (patch)
treee774e7aa9eb99b40979cf2b678aea333dc2de3a5 /system/database/drivers/mysqli
parent2296fc3ca61b689a2a486d1d39346424c069dc25 (diff)
Diffstat (limited to 'system/database/drivers/mysqli')
-rw-r--r--system/database/drivers/mysqli/mysqli_driver.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php
index 63df0fe6f..b158cfefe 100644
--- a/system/database/drivers/mysqli/mysqli_driver.php
+++ b/system/database/drivers/mysqli/mysqli_driver.php
@@ -230,14 +230,7 @@ class CI_DB_mysqli_driver extends CI_DB {
return $str;
}
- if (function_exists('mysql_escape_string'))
- {
- return mysqli_real_escape_string($this->conn_id, $str);
- }
- else
- {
- return addslashes($str);
- }
+ return mysqli_real_escape_string($this->conn_id, $str);
}
// --------------------------------------------------------------------