Index: trunk/extensions/EmailUsers/SpecialEmailUsers.php |
— | — | @@ -15,8 +15,8 @@ |
16 | 16 | $this->setHeaders(); |
17 | 17 | |
18 | 18 | if ( !$this->userCanExecute( $wgUser ) ) { |
19 | | - #$this->displayRestrictionError(); |
20 | | - #return; |
| 19 | + $this->displayRestrictionError(); |
| 20 | + return; |
21 | 21 | } |
22 | 22 | |
23 | 23 | $error = SpecialEmailUser::getPermissionsError( $wgUser, $wgUser->editToken() ); |