Restore the public interface function used by SpecialUndelete.php
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 1 May 2005 07:38:53 +0000 (07:38 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 1 May 2005 07:38:53 +0000 (07:38 +0000)
includes/SpecialLog.php

index b98f116..9d91f7f 100644 (file)
@@ -222,7 +222,7 @@ class LogViewer {
                $this->showOptions( $wgOut );
                $result = $this->getLogRows();
                $this->showPrevNext( $wgOut );
-               $this->showList( $wgOut, $result );
+               $this->doShowList( $wgOut, $result );
                $this->showPrevNext( $wgOut );
        }
 
@@ -267,7 +267,11 @@ class LogViewer {
         * another page (eg at Special:Undelete)
         * @param OutputPage $out where to send output
         */
-       function showList( &$out, $result ) {
+       function showList( &$out ) {
+               $this->doShowList( $out, $this->getLogRows() );
+       }
+       
+       function doShowList( &$out, $result ) {
                // Rewind result pointer and go through it again, making the HTML
                $html='';
                if ($this->numResults > 0) {