mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 01:10:07 +00:00
Remove redundant condition from if statement
Change-Id: I5e12b5766f9cc8aa546833756778c8cf2c3bddbe
This commit is contained in:
parent
405ccd4db4
commit
af027a0dd7
|
@ -66,7 +66,7 @@ abstract class EchoDiscussionParser {
|
|||
}
|
||||
}
|
||||
|
||||
if ( !$createdEvents && $title && $title->getNamespace() == NS_USER_TALK ) {
|
||||
if ( !$createdEvents && $title->getNamespace() == NS_USER_TALK ) {
|
||||
$notifyUser = User::newFromName( $title->getText() );
|
||||
if ( $notifyUser && $notifyUser->getID() ) {
|
||||
EchoEvent::create( array(
|
||||
|
|
Loading…
Reference in a new issue