From: Chad Horohoe Date: Mon, 14 Feb 2011 17:16:39 +0000 (+0000) Subject: Allow callback to be set by options array, inspired by bug 27391 X-Git-Tag: 1.31.0-rc.0~31992 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/?a=commitdiff_plain;h=202bd2eb33cb718b36033ad722feaddce79d9937;p=lhc%2Fweb%2Fwiklou.git Allow callback to be set by options array, inspired by bug 27391 --- 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] ) ) {