mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Merge "Remove a couple of unused variables"
This commit is contained in:
commit
3be58d5738
|
@ -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 );
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue