X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fexport%2FXmlDumpWriter.php;h=e1c12de1b9ce359624a2397c50b26c739fad6557;hb=cc69954a9df31b3c31d72074ec84c0a0d9464e29;hp=c46eb61ca36d3d757e27303d969012663bea1f0e;hpb=232cb19c0a27ee306984bda5bcd5c6c1815734e2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/export/XmlDumpWriter.php b/includes/export/XmlDumpWriter.php index c46eb61ca3..e1c12de1b9 100644 --- a/includes/export/XmlDumpWriter.php +++ b/includes/export/XmlDumpWriter.php @@ -219,7 +219,7 @@ class XmlDumpWriter { if ( isset( $row->rev_deleted ) && ( $row->rev_deleted & Revision::DELETED_COMMENT ) ) { $out .= " " . Xml::element( 'comment', [ 'deleted' => 'deleted' ] ) . "\n"; } else { - $comment = CommentStore::newKey( 'rev_comment' )->getComment( $row )->text; + $comment = CommentStore::getStore()->getComment( 'rev_comment', $row )->text; if ( $comment != '' ) { $out .= " " . Xml::elementClean( 'comment', [], strval( $comment ) ) . "\n"; } @@ -303,7 +303,7 @@ class XmlDumpWriter { if ( $row->log_deleted & LogPage::DELETED_COMMENT ) { $out .= " " . Xml::element( 'comment', [ 'deleted' => 'deleted' ] ) . "\n"; } else { - $comment = CommentStore::newKey( 'log_comment' )->getComment( $row )->text; + $comment = CommentStore::getStore()->getComment( 'log_comment', $row )->text; if ( $comment != '' ) { $out .= " " . Xml::elementClean( 'comment', null, strval( $comment ) ) . "\n"; }