Remove code for disabled event types

Change-Id: I30a5fec1e3275d53904c9bf20f2eb70db5fc0819
This commit is contained in:
bsitu 2012-12-19 17:00:19 -08:00
parent bfdd733e7c
commit a698cdbff2

View file

@ -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 ) {