From: Andrew Garrett Date: Tue, 18 Jan 2011 18:33:31 +0000 (+0000) Subject: Fix r66267, make hook code consistent with documentation, fix E_NOTICE X-Git-Tag: 1.31.0-rc.0~32486 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=c8cd22b7b884bab52562434e574853969be59867;p=lhc%2Fweb%2Fwiklou.git Fix r66267, make hook code consistent with documentation, fix E_NOTICE --- diff --git a/includes/ImportXMLReader.php b/includes/ImportXMLReader.php index 256b369041..bd49fc0a3e 100644 --- a/includes/ImportXMLReader.php +++ b/includes/ImportXMLReader.php @@ -548,7 +548,7 @@ class WikiImporter { $tag = $this->reader->name; if ( !wfRunHooks( 'ImportHandleUploadXMLTag', $this->reader, - $pageInfo, $revisionInfo ) ) { + $pageInfo ) ) { // Do nothing } elseif ( in_array( $tag, $normalFields ) ) { $uploadInfo[$tag] = $this->nodeContents();