* Remove duplicated function in EditPage.
authorRobert Leverington <roberthl@users.mediawiki.org>
Tue, 26 Aug 2008 14:58:50 +0000 (14:58 +0000)
committerRobert Leverington <roberthl@users.mediawiki.org>
Tue, 26 Aug 2008 14:58:50 +0000 (14:58 +0000)
includes/EditPage.php

index b0ad281..132e27c 100644 (file)
@@ -1516,19 +1516,6 @@ END
                        $attribs ) );
        }
 
-       protected function displayPreviewArea( $previewOutput ) {
-               global $wgOut;
-               if ( $this->formtype == 'preview') {
-                       $this->showPreview( $previewOutput );
-               } else {
-                       $wgOut->addHTML( '<div id="wikiPreview"></div>' );
-               }
-
-               if ( $this->formtype == 'diff') {
-                       $this->showDiff();
-               }
-       }
-       
        protected function displayPreviewArea( $previewOutput ) {
                global $wgOut;
                if ( $this->formtype == 'preview') {