Index: branches/happy-melon/phase3/includes/Login.php |
— | — | @@ -550,9 +550,7 @@ |
551 | 551 | $this->mMailResult = $this->mUser->sendMail( wfMsg( $title ), $message ); |
552 | 552 | |
553 | 553 | if( WikiError::isError( $this->mMailResult ) ) { |
554 | | - #XXX |
555 | | - var_dump($message); |
556 | | - return self::SUCCESS; |
| 554 | + return self::MAIL_ERROR; |
557 | 555 | } else { |
558 | 556 | return self::SUCCESS; |
559 | 557 | } |