From 5f8d34b4b1176bdbe2c8e79fe25cc939709df36e Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 9 Jan 2009 13:38:43 +0000 Subject: [PATCH] minor cleanup --- includes/specials/SpecialProtectedpages.php | 37 ++++++++++----------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/includes/specials/SpecialProtectedpages.php b/includes/specials/SpecialProtectedpages.php index 4e56ca4286..2ff423bea4 100644 --- a/includes/specials/SpecialProtectedpages.php +++ b/includes/specials/SpecialProtectedpages.php @@ -16,12 +16,12 @@ class ProtectedPagesForm { public function showList( $msg = '' ) { global $wgOut, $wgRequest; - if ( "" != $msg ) { + if( "" != $msg ) { $wgOut->setSubtitle( $msg ); } // Purge expired entries on one in every 10 queries - if ( !mt_rand( 0, 10 ) ) { + if( !mt_rand( 0, 10 ) ) { Title::purgeExpiredRestrictions(); } @@ -37,7 +37,7 @@ class ProtectedPagesForm { $wgOut->addHTML( $this->showOptions( $NS, $type, $level, $sizetype, $size, $indefOnly, $cascadeOnly ) ); - if ( $pager->getNumRows() ) { + if( $pager->getNumRows() ) { $s = $pager->getNavigationBar(); $s .= "