From b9826afbb9b67d228323d3f0aec6b0198ba11817 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 1 May 2005 07:38:53 +0000 Subject: [PATCH] Restore the public interface function used by SpecialUndelete.php --- includes/SpecialLog.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/includes/SpecialLog.php b/includes/SpecialLog.php index b98f11629e..9d91f7fe82 100644 --- a/includes/SpecialLog.php +++ b/includes/SpecialLog.php @@ -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) { -- 2.20.1