From 2a14ecd921ab4ff200ccc6a34096d853ff2339b1 Mon Sep 17 00:00:00 2001 From: Ariel Glenn Date: Thu, 22 Sep 2011 07:03:25 +0000 Subject: [PATCH] remove cruft that didn't all get cleaned up before commit in r95260, addressing fixme. --- includes/Export.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/includes/Export.php b/includes/Export.php index 1eab3d6580..489a9284ec 100644 --- a/includes/Export.php +++ b/includes/Export.php @@ -354,8 +354,6 @@ class WikiExporter { * @ingroup Dump */ class XmlDumpWriter { - protected $firstPageWritten = 0, $lastPageWritten = 0, $pageInProgress = 0; - /** * Returns the export schema version. * @return string @@ -459,7 +457,6 @@ class XmlDumpWriter { $title = Title::makeTitle( $row->page_namespace, $row->page_title ); $out .= ' ' . Xml::elementClean( 'title', array(), $title->getPrefixedText() ) . "\n"; $out .= ' ' . Xml::element( 'id', array(), strval( $row->page_id ) ) . "\n"; - $this->pageInProgress = $row->page_id; if ( $row->page_is_redirect ) { $out .= ' ' . Xml::element( 'redirect', array() ) . "\n"; } @@ -480,10 +477,6 @@ class XmlDumpWriter { */ function closePage() { return " \n"; - //if ( !$this->firstPageWritten ) { - // $this->firstPageWritten = $this->pageInProgress; - //} - //$this->lastPageWritten = $this->pageInProgress; } /** -- 2.20.1