diff --git a/mod/lti/OAuth.php b/mod/lti/OAuth.php index bdd6b2f9162..0ba4e85b091 100644 --- a/mod/lti/OAuth.php +++ b/mod/lti/OAuth.php @@ -275,15 +275,6 @@ class OAuthRequest { $parameters = OAuthUtil::parse_parameters($_SERVER['QUERY_STRING']); $ourpost = $_POST; - // Deal with magic_quotes - // http://www.php.net/manual/en/security.magicquotes.disabling.php - if (get_magic_quotes_gpc()) { - $outpost = array(); - foreach ($_POST as $k => $v) { - $v = stripslashes($v); - $ourpost[$k] = $v; - } - } // Add POST Parameters if they exist $parameters = array_merge($parameters, $ourpost);