summaryrefslogtreecommitdiffstats
path: root/system/drivers/DB_mysqli.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/drivers/DB_mysqli.php')
-rw-r--r--system/drivers/DB_mysqli.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/system/drivers/DB_mysqli.php b/system/drivers/DB_mysqli.php
index 32c4c0f89..75c01e7f8 100644
--- a/system/drivers/DB_mysqli.php
+++ b/system/drivers/DB_mysqli.php
@@ -128,10 +128,6 @@ class CI_DB_mysqli extends CI_DB {
*/
function escape_str($str)
{
- if (get_magic_quotes_gpc())
- {
- $str = stripslashes($str);
- }
return mysqli_real_escape_string($this->conn_id, $str);
}