dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c63ef4
)
MFB r88946
author
Sam Reed
<reedy@users.mediawiki.org>
Fri, 27 May 2011 11:43:33 +0000
(11:43 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Fri, 27 May 2011 11:43:33 +0000
(11:43 +0000)
includes/installer/Installer.php
patch
|
blob
|
history
diff --git
a/includes/installer/Installer.php
b/includes/installer/Installer.php
index
3cfdfc3
..
f0ea4f6
100644
(file)
--- a/
includes/installer/Installer.php
+++ b/
includes/installer/Installer.php
@@
-1455,10
+1455,11
@@
abstract class Installer {
$params['language'] = $myLang;
}
- $res = Http::post( $this->mediaWikiAnnounceUrl, array( 'postData' => $params ) );
- if( !$res ) {
- $s->warning( 'config-install-subscribe-fail' );
- }
+ $res = MWHttpRequest::factory( $this->mediaWikiAnnounceUrl,
+ array( 'method' => 'POST', 'postData' => $params ) )->execute();
+ if( !$res->isOK() ) {
+ $s->warning( 'config-install-subscribe-fail', $res->getMessage() );
+ }
}
/**