* (bug 9682) Revert PHP 5.1 dependency on warning suppression for SVN info
Partial revert of r19003; use of new parameter causes extra whinging on PHP 5.0 apparently
This commit is contained in:
parent
87a766cc31
commit
f858d0e61b
2 changed files with 5 additions and 1 deletions
|
|
@ -354,6 +354,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
|
|||
* (bug 9582) Members of bot group now mark edits patrolled by default
|
||||
* (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since
|
||||
converted from 1.4 to 1.5 schema
|
||||
* (bug 9682) Revert PHP 5.1 dependency on warning suppression for SVN info
|
||||
|
||||
|
||||
== Maintenance ==
|
||||
|
|
|
|||
|
|
@ -282,7 +282,10 @@ class SpecialVersion {
|
|||
return false;
|
||||
}
|
||||
|
||||
$xml = simplexml_load_file( $entries, "SimpleXMLElement", LIBXML_NOWARNING );
|
||||
// SimpleXml whines about the xmlns...
|
||||
wfSuppressWarnings();
|
||||
$xml = simplexml_load_file( $entries );
|
||||
wfRestoreWarnings();
|
||||
|
||||
if( $xml ) {
|
||||
foreach( $xml->entry as $entry ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue