From c8cd22b7b884bab52562434e574853969be59867 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Tue, 18 Jan 2011 18:33:31 +0000 Subject: [PATCH] Fix r66267, make hook code consistent with documentation, fix E_NOTICE --- includes/ImportXMLReader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1