r33989 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33988‎ | r33989 | r33990 >
Date:21:37, 28 April 2008
Author:aaron
Status:old
Tags:
Comment:
Check isEmailConfirmed()
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -14,7 +14,7 @@
1515 $wgExtensionCredits['specialpage'][] = array(
1616 'name' => 'Flagged Revisions',
1717 'author' => array( 'Aaron Schulz', 'Joerg Baach' ),
18 - 'version' => '1.031',
 18+ 'version' => '1.032',
1919 'url' => 'http://www.mediawiki.org/wiki/Extension:FlaggedRevs',
2020 'descriptionmsg' => 'flaggedrevs-desc',
2121 );
@@ -1845,7 +1845,7 @@
18461846 wfProfileOut( __METHOD__ );
18471847 return true;
18481848 }
1849 - if( $wgFlaggedRevsAutopromote['email'] && !$user->isAllowed('emailconfirmed') ) {
 1849+ if( $wgFlaggedRevsAutopromote['email'] && !$user->isEmailConfirmed() ) {
18501850 wfProfileOut( __METHOD__ );
18511851 return true;
18521852 }

Status & tagging log