summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysqli
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/drivers/mysqli')
-rw-r--r--system/database/drivers/mysqli/mysqli_driver.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php
index 98e7f6c76..9cfc68ea6 100644
--- a/system/database/drivers/mysqli/mysqli_driver.php
+++ b/system/database/drivers/mysqli/mysqli_driver.php
@@ -225,11 +225,6 @@ class CI_DB_mysqli_driver extends CI_DB {
*/
function escape_str($str)
{
- if (get_magic_quotes_gpc())
- {
- return $str;
- }
-
return mysqli_real_escape_string($this->conn_id, $str);
}