r100439 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100438‎ | r100439 | r100440 >
Date:19:08, 21 October 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
only show mail stuff for admins
Modified paths:
  • /trunk/extensions/Contest/specials/SpecialContest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/specials/SpecialContest.php
@@ -56,7 +56,11 @@
5757
5858 $this->displayNavigation();
5959 $this->showGeneralInfo( $contest );
60 - $this->showMailFunctionality( $contest );
 60+
 61+ if ( $this->getUser()->isAllowed( 'contestadmin' ) ) {
 62+ $this->showMailFunctionality( $contest );
 63+ }
 64+
6165 $this->showContestants( $contest, $challengeTitle );
6266
6367 $out->addModules( 'contest.special.contest' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r1004401.18wmf1 REL r100402, r100405, r100419, r100427, r100432, r100433, r100435, r...reedy19:22, 21 October 2011

Status & tagging log