http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58417
Revision: 58417 Author: siebrand Date: 2009-11-01 23:16:46 +0000 (Sun, 01 Nov 2009) Log Message: ----------- Move $wgPasswordSender to where it is actually used. Modified Paths: -------------- trunk/extensions/LiquidThreads/classes/NewMessagesController.php Modified: trunk/extensions/LiquidThreads/classes/NewMessagesController.php =================================================================== --- trunk/extensions/LiquidThreads/classes/NewMessagesController.php 2009-11-01 23:15:55 UTC (rev 58416) +++ trunk/extensions/LiquidThreads/classes/NewMessagesController.php 2009-11-01 23:16:46 UTC (rev 58417) @@ -257,6 +257,7 @@ ); // Set up one-time data. + global $wgPasswordSender; $link_title = clone $t->article()->getTitle(); $link_title->setFragment( '#' . $t->getAnchorName() ); $permalink = $link_title->getFullURL(); @@ -303,8 +304,6 @@ $msg = wfMsgReal( $msgName, $params, true /* use DB */, $langCode, true /*transform*/ ); - global $wgPasswordSender; - $to = new MailAddress( $u ); $subject = wfMsgReal( $subjectMsg, array( $threadSubject ), true /* use DB */, $langCode, true /* transform */ ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs