r100442 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100441‎ | r100442 | r100443 >
Date:20:06, 21 October 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
fix
Modified paths:
  • /trunk/extensions/Contest/includes/ContestContestant.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/includes/ContestContestant.php
@@ -492,8 +492,8 @@
493493 $title = wfMsg( 'contest-email-signup-title' );
494494 $emailText = ContestUtils::getParsedArticleContent( $this->getContest()->getField( 'signup_email' ) );
495495 $user = $this->getUser();
496 - $sender = ContestSettings::get( 'wgPasswordSender' );
497 - $senderName = ContestSettings::get( 'wgPasswordSenderName' );
 496+ $sender = ContestSettings::get( 'mailSender' );
 497+ $senderName = ContestSettings::get( 'mailSenderName' );
498498
499499 wfRunHooks( 'ContestBeforeSignupEmail', array( &$this, &$title, &$emailText, &$user, &$sender, &$senderName ) );
500500
@@ -521,8 +521,8 @@
522522
523523 $title = wfMsgExt( 'contest-email-reminder-title', 'parsemag', $params['daysLeft'] );
524524 $user = $this->getUser();
525 - $sender = ContestSettings::get( 'wgPasswordSender' );
526 - $senderName = ContestSettings::get( 'wgPasswordSenderName' );
 525+ $sender = ContestSettings::get( 'mailSender' );
 526+ $senderName = ContestSettings::get( 'mailSenderName' );
527527
528528 wfRunHooks( 'ContestBeforeReminderEmail', array( &$this, &$title, &$emailText, &$user, &$sender, &$senderName ) );
529529

Follow-up revisions

RevisionCommit summaryAuthorDate
r100446MFT r100442demon20:15, 21 October 2011

Status & tagging log