Merge "Remove a couple of unused variables"

This commit is contained in:
Bsitu 2013-03-01 19:11:22 +00:00 committed by Gerrit Code Review
commit 3be58d5738
2 changed files with 1 additions and 6 deletions

View file

@ -55,11 +55,6 @@ class EchoCommentFormatter extends EchoEditFormatter {
$message->params( '' );
}
} elseif ( $param === 'commentText' ) {
/**
* @var $wgLang Language
*/
global $wgLang; // Message::language is protected :(
if ( isset( $extra['content'] ) && $extra['content'] ) {
$content = $extra['content'];
$content = EchoDiscussionParser::stripHeader( $content );

View file

@ -100,7 +100,7 @@ abstract class MWEchoEmailBatch {
$events = $this->getEvents();
if ( $events ) {
foreach( $events as $batchId => $row ) {
foreach( $events as $row ) {
$this->count++;
if ( $this->count > self::$displaySize ) {
break;