diff --git a/HTTP/Request2.php b/HTTP/Request2.php
index 9843cd0..a452bc9 100644
--- a/HTTP/Request2.php
+++ b/HTTP/Request2.php
@@ -926,11 +926,6 @@ class HTTP_Request2 implements SplSubject
if (empty($this->adapter)) {
$this->setAdapter($this->getConfig('adapter'));
}
- // magic_quotes_runtime may break file uploads and chunked response
- // processing; see bug #4543. Don't use ini_get() here; see bug #16440.
- if ($magicQuotes = get_magic_quotes_runtime()) {
- set_magic_quotes_runtime(false);
- }
// force using single byte encoding if mbstring extension overloads
// strlen() and substr(); see bug #1781, bug #10605
if (extension_loaded('mbstring') && (2 & ini_get('mbstring.func_overload'))) {
@@ -943,9 +938,6 @@ class HTTP_Request2 implements SplSubject
} catch (Exception $e) {
}
// cleanup in either case (poor man's "finally" clause)
- if ($magicQuotes) {
- set_magic_quotes_runtime(true);
- }
if (!empty($oldEncoding)) {
mb_internal_encoding($oldEncoding);
}