summaryrefslogtreecommitdiff
path: root/includes/HttpFunctions.old.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/HttpFunctions.old.php')
-rw-r--r--includes/HttpFunctions.old.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/includes/HttpFunctions.old.php b/includes/HttpFunctions.old.php
new file mode 100644
index 00000000..6d28abc6
--- /dev/null
+++ b/includes/HttpFunctions.old.php
@@ -0,0 +1,12 @@
+<?php
+
+/**
+ * HttpRequest was renamed to MWHttpRequest in order
+ * to prevent conflicts with PHP's HTTP extension
+ * which also defines an HttpRequest class.
+ * http://www.php.net/manual/en/class.httprequest.php
+ *
+ * This is for backwards compatibility.
+ */
+
+class HttpRequest extends MWHttpRequest { }