Index: trunk/extensions/Contest/specials/SpecialContest.php |
— | — | @@ -56,7 +56,11 @@ |
57 | 57 | |
58 | 58 | $this->displayNavigation(); |
59 | 59 | $this->showGeneralInfo( $contest ); |
60 | | - $this->showMailFunctionality( $contest ); |
| 60 | + |
| 61 | + if ( $this->getUser()->isAllowed( 'contestadmin' ) ) { |
| 62 | + $this->showMailFunctionality( $contest ); |
| 63 | + } |
| 64 | + |
61 | 65 | $this->showContestants( $contest, $challengeTitle ); |
62 | 66 | |
63 | 67 | $out->addModules( 'contest.special.contest' ); |