follow-up on r65546#c6661: minor code style issue. (suggested by Nikerabbit)
authorTobias <churchofemacs@users.mediawiki.org>
Thu, 29 Apr 2010 10:28:28 +0000 (10:28 +0000)
committerTobias <churchofemacs@users.mediawiki.org>
Thu, 29 Apr 2010 10:28:28 +0000 (10:28 +0000)
includes/specials/SpecialContributions.php

index 17aaec8..3cb620b 100644 (file)
@@ -34,7 +34,7 @@ class SpecialContributions extends SpecialPage {
                        $this->opts['contribs'] = 'newbie';
                }
 
-               $this->opts['deletedOnly'] = ( $wgRequest->getVal( 'deletedOnly' ) == '1' );
+               $this->opts['deletedOnly'] = $wgRequest->getCheck( 'deletedOnly' );
 
                if( !strlen( $target ) ) {
                        $wgOut->addHTML( $this->getForm() );