mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-24 02:39:33 +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( '' );
|
$message->params( '' );
|
||||||
}
|
}
|
||||||
} elseif ( $param === 'commentText' ) {
|
} elseif ( $param === 'commentText' ) {
|
||||||
/**
|
|
||||||
* @var $wgLang Language
|
|
||||||
*/
|
|
||||||
global $wgLang; // Message::language is protected :(
|
|
||||||
|
|
||||||
if ( isset( $extra['content'] ) && $extra['content'] ) {
|
if ( isset( $extra['content'] ) && $extra['content'] ) {
|
||||||
$content = $extra['content'];
|
$content = $extra['content'];
|
||||||
$content = EchoDiscussionParser::stripHeader( $content );
|
$content = EchoDiscussionParser::stripHeader( $content );
|
||||||
|
|
|
@ -100,7 +100,7 @@ abstract class MWEchoEmailBatch {
|
||||||
$events = $this->getEvents();
|
$events = $this->getEvents();
|
||||||
|
|
||||||
if ( $events ) {
|
if ( $events ) {
|
||||||
foreach( $events as $batchId => $row ) {
|
foreach( $events as $row ) {
|
||||||
$this->count++;
|
$this->count++;
|
||||||
if ( $this->count > self::$displaySize ) {
|
if ( $this->count > self::$displaySize ) {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue