From: Robert Leverington Date: Tue, 26 Aug 2008 14:58:50 +0000 (+0000) Subject: * Remove duplicated function in EditPage. X-Git-Tag: 1.31.0-rc.0~45654 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=814f44861765d40897898eed651928deab2deeaf;p=lhc%2Fweb%2Fwiklou.git * Remove duplicated function in EditPage. --- diff --git a/includes/EditPage.php b/includes/EditPage.php index b0ad2811e3..132e27cf06 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1516,19 +1516,6 @@ END $attribs ) ); } - protected function displayPreviewArea( $previewOutput ) { - global $wgOut; - if ( $this->formtype == 'preview') { - $this->showPreview( $previewOutput ); - } else { - $wgOut->addHTML( '
' ); - } - - if ( $this->formtype == 'diff') { - $this->showDiff(); - } - } - protected function displayPreviewArea( $previewOutput ) { global $wgOut; if ( $this->formtype == 'preview') {