From: Ariel Glenn Date: Thu, 22 Sep 2011 07:03:25 +0000 (+0000) Subject: remove cruft that didn't all get cleaned up before commit in r95260, addressing fixme. X-Git-Tag: 1.31.0-rc.0~27484 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=2a14ecd921ab4ff200ccc6a34096d853ff2339b1;p=lhc%2Fweb%2Fwiklou.git remove cruft that didn't all get cleaned up before commit in r95260, addressing fixme. --- 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; } /**