Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | $wgExtensionCredits['specialpage'][] = array( |
16 | 16 | 'name' => 'Flagged Revisions', |
17 | 17 | 'author' => array( 'Aaron Schulz', 'Joerg Baach' ), |
18 | | - 'version' => '1.031', |
| 18 | + 'version' => '1.032', |
19 | 19 | 'url' => 'http://www.mediawiki.org/wiki/Extension:FlaggedRevs', |
20 | 20 | 'descriptionmsg' => 'flaggedrevs-desc', |
21 | 21 | ); |
— | — | @@ -1845,7 +1845,7 @@ |
1846 | 1846 | wfProfileOut( __METHOD__ ); |
1847 | 1847 | return true; |
1848 | 1848 | } |
1849 | | - if( $wgFlaggedRevsAutopromote['email'] && !$user->isAllowed('emailconfirmed') ) { |
| 1849 | + if( $wgFlaggedRevsAutopromote['email'] && !$user->isEmailConfirmed() ) { |
1850 | 1850 | wfProfileOut( __METHOD__ ); |
1851 | 1851 | return true; |
1852 | 1852 | } |