Index: trunk/phase3/includes/installer/Installer.php |
— | — | @@ -1455,10 +1455,11 @@ |
1456 | 1456 | $params['language'] = $myLang; |
1457 | 1457 | } |
1458 | 1458 | |
1459 | | - $res = Http::post( $this->mediaWikiAnnounceUrl, array( 'postData' => $params ) ); |
1460 | | - if( !$res ) { |
1461 | | - $s->warning( 'config-install-subscribe-fail' ); |
1462 | | - } |
| 1459 | + $res = MWHttpRequest::factory( $this->mediaWikiAnnounceUrl, |
| 1460 | + array( 'method' => 'POST', 'postData' => $params ) )->execute(); |
| 1461 | + if( !$res->isOK() ) { |
| 1462 | + $s->warning( 'config-install-subscribe-fail', $res->getMessage() ); |
| 1463 | + } |
1463 | 1464 | } |
1464 | 1465 | |
1465 | 1466 | /** |