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:
c58af00
)
Http::get() doesn't return an object, it already returns the results or null anyway...
author
Chad Horohoe
<demon@users.mediawiki.org>
Sat, 1 Aug 2009 18:44:28 +0000
(18:44 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Sat, 1 Aug 2009 18:44:28 +0000
(18:44 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
ce3c69a
..
af96eb1
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-2722,10
+2722,7
@@
function wfCreateObject( $name, $p ){
*/
function wfGetHTTP( $url ) {
wfDeprecated(__FUNCTION__);
- $status = Http::get( $url );
- if( $status->isOK() )
- return $status->value;
- return null;
+ return Http::get( $url );
}
/**