summaryrefslogtreecommitdiffstats
path: root/system/drivers/DB_mysql.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-08-27 03:52:51 +0200
committeradmin <devnull@localhost>2006-08-27 03:52:51 +0200
commit141808ad31d4eefad4c6c3dbaf8306fac2342668 (patch)
tree25c40e5e4e18fb27bb2826ac6ce8fbffd844281c /system/drivers/DB_mysql.php
parentb071bb5a92aade551345a495fb13f5678f3978d0 (diff)
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);
}