summaryrefslogtreecommitdiffstats
path: root/system/drivers/DB_mysql.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/drivers/DB_mysql.php')
-rw-r--r--system/drivers/DB_mysql.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/system/drivers/DB_mysql.php b/system/drivers/DB_mysql.php
index 82e677a1a..a90d84268 100644
--- a/system/drivers/DB_mysql.php
+++ b/system/drivers/DB_mysql.php
@@ -126,10 +126,6 @@ class CI_DB_mysql extends CI_DB {
*/
function escape_str($str)
{
- if (get_magic_quotes_gpc())
- {
- $str = stripslashes($str);
- }
return mysql_real_escape_string($str);
}