Remove redundant condition from if statement

Change-Id: I5e12b5766f9cc8aa546833756778c8cf2c3bddbe
This commit is contained in:
bsitu 2012-11-27 14:16:18 -08:00
parent 405ccd4db4
commit af027a0dd7

View file

@ -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(