From de2a64371f4de3f5e58b2dc69dfa9c7f7e1d0b30 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Sun, 30 May 2010 19:17:14 +0000 Subject: [PATCH] Fixed a few E_DEPRECATED's is ImportXMLReader.php --- includes/ImportXMLReader.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/ImportXMLReader.php b/includes/ImportXMLReader.php index db9b8705f0..d445a28365 100644 --- a/includes/ImportXMLReader.php +++ b/includes/ImportXMLReader.php @@ -376,7 +376,7 @@ class WikiImporter { $tag = $this->reader->name; if ( !wfRunHooks( 'ImportHandleLogItemXMLTag', - $this->reader, &$logInfo ) ) { + $this->reader, $logInfo ) ) { // Do nothing } if ( in_array( $tag, $normalFields ) ) { $logInfo[$tag] = $this->nodeContents(); @@ -437,7 +437,7 @@ class WikiImporter { // The title is invalid, bail out of this page $skip = true; } elseif ( !wfRunHooks( 'ImportHandlePageXMLTag', $this->reader, - &$pageInfo ) ) { + $pageInfo ) ) { // Do nothing } if ( in_array( $tag, $normalFields ) ) { $pageInfo[$tag] = $this->nodeContents(); @@ -484,7 +484,7 @@ class WikiImporter { $tag = $this->reader->name; if ( !wfRunHooks( 'ImportHandleRevisionXMLTag', $this->reader, - &$pageInfo, &$revisionInfo ) ) { + $pageInfo, $revisionInfo ) ) { // Do nothing } if ( in_array( $tag, $normalFields ) ) { $revisionInfo[$tag] = $this->nodeContents(); @@ -545,7 +545,7 @@ class WikiImporter { $tag = $this->reader->name; if ( !wfRunHooks( 'ImportHandleUploadXMLTag', $this->reader, - &$pageInfo, &$revisionInfo ) ) { + $pageInfo, $revisionInfo ) ) { // Do nothing } if ( in_array( $tag, $normalFields ) ) { $uploadInfo[$tag] = $this->nodeContents(); -- 2.20.1