From 202bd2eb33cb718b36033ad722feaddce79d9937 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 14 Feb 2011 17:16:39 +0000 Subject: [PATCH] Allow callback to be set by options array, inspired by bug 27391 --- includes/HttpFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 7e5bc1f4bb..924f5432cb 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -188,7 +188,7 @@ class MWHttpRequest { } $members = array( "postData", "proxy", "noProxy", "sslVerifyHost", "caInfo", - "method", "followRedirects", "maxRedirects", "sslVerifyCert" ); + "method", "followRedirects", "maxRedirects", "sslVerifyCert", "callback" ); foreach ( $members as $o ) { if ( isset( $options[$o] ) ) { -- 2.20.1