From: Brion Vibber Date: Sun, 1 May 2005 07:38:53 +0000 (+0000) Subject: Restore the public interface function used by SpecialUndelete.php X-Git-Tag: 1.5.0alpha1~44 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=b9826afbb9b67d228323d3f0aec6b0198ba11817;p=lhc%2Fweb%2Fwiklou.git Restore the public interface function used by SpecialUndelete.php --- 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) {