Follow-up r71882 and r71929: Fix bug in r71929. Check should be reversed.
This commit is contained in:
parent
b21d241936
commit
d6d5b26a7b
|
@ -53,7 +53,7 @@ class SpecialContact extends SpecialPage {
|
|||
}
|
||||
|
||||
// Blocked users cannot use the contact form.
|
||||
if ( $wgUser->isAllowed( 'sendemail' ) ) {
|
||||
if ( !$wgUser->isAllowed( 'sendemail' ) ) {
|
||||
$wgOut->setPageTitle( wfMsg( 'blockedtitle' ) );
|
||||
$wgOut->setRobotPolicy( 'noindex,nofollow' );
|
||||
$wgOut->setArticleRelated( false );
|
||||
|
|
Loading…
Reference in New Issue