r28798 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r28797‎ | r28798 | r28799 >
Date:13:12, 23 December 2007
Author:vasilievvv
Status:old
Tags:
Comment:
(bug 12392) new file includes/Autopromote.php calling non existing function
Modified paths:
  • /trunk/phase3/includes/Autopromote.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Autopromote.php
@@ -49,7 +49,7 @@
5050 if( User::isValidEmailAddr( $user->getEmail() ) ) {
5151 global $wgEmailAuthentication;
5252 if( $wgEmailAuthentication ) {
53 - return boolval( $user->getEmailAuthenticationTimestamp() );
 53+ return $user->getEmailAuthenticationTimestamp() ? true : false;
5454 } else {
5555 return true;
5656 }

Status & tagging log