Tweak wrong comment from last commit, as VasilievVV points out.
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 23 Dec 2007 20:01:53 +0000 (20:01 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 23 Dec 2007 20:01:53 +0000 (20:01 +0000)
includes/Autopromote.php
includes/DefaultSettings.php

index 4220bd9..76d6f2a 100644 (file)
@@ -85,8 +85,6 @@ class Autopromote {
                switch( $cond[0] ) {
                        case APCOND_EMAILCONFIRMED:
                                if( User::isValidEmailAddr( $user->getEmail() ) ) {
-                                       # FIXME: EMAILCONFIRMED is always true if
-                                       # wgEmailAuthentication if false, this is confusing.
                                        global $wgEmailAuthentication;
                                        if( $wgEmailAuthentication ) {
                                                return $user->getEmailAuthenticationTimestamp() ? true : false;
index 44076b4..2164604 100644 (file)
@@ -1199,8 +1199,8 @@ $wgAutoConfirmCount = 0;
  *   array( APCOND_AGE, seconds since registration ), *OR*
  *   similar constructs defined by extensions.
  *
- * Note that EMAILCONFIRMED will always be true if $wgEmailAuthentication is
- * off!
+ * If $wgEmailAuthentication is off, APCOND_EMAILCONFIRMED will be true for any
+ * user who has provided an e-mail address.
  */
 $wgAutopromote = array(
        'autoconfirmed' => array( '&',