mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Remove code for disabled event types
Change-Id: I30a5fec1e3275d53904c9bf20f2eb70db5fc0819
This commit is contained in:
parent
bfdd733e7c
commit
a698cdbff2
|
@ -34,6 +34,8 @@ abstract class EchoDiscussionParser {
|
|||
$user = $userID != 0 ? User::newFromId( $userID ) : User::newFromName( $userName, false );
|
||||
|
||||
foreach ( $interpretation as $action ) {
|
||||
// These two event types are disabled temporarily, there is no need to process them
|
||||
/*
|
||||
if ( $action['type'] == 'add-comment' ) {
|
||||
$fullSection = $action['full-section'];
|
||||
$header = self::extractHeader( $fullSection );
|
||||
|
@ -64,6 +66,7 @@ abstract class EchoDiscussionParser {
|
|||
) );
|
||||
$createdEvents = true;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
if ( !$createdEvents && $title->getNamespace() == NS_USER_TALK ) {
|
||||
|
|
Loading…
Reference in a new issue