Merge "Fix mismatched parentheses"

This commit is contained in:
jenkins-bot 2014-03-11 14:11:46 +00:00 committed by Gerrit Code Review
commit 9254f821a9

View file

@ -25,8 +25,8 @@ class ThanksHooks {
&& !$wgUser->isAnon()
&& $rev->getUser() !== $wgUser->getId()
&& !$wgUser->isBlocked()
&& !$rev->isDeleted( Revision::DELETED_TEXT
&& ( !$oldRev || $rev->getParentId() == $oldRev->getId() ) )
&& !$rev->isDeleted( Revision::DELETED_TEXT )
&& ( !$oldRev || $rev->getParentId() == $oldRev->getId() )
) {
$recipient = User::newFromId( $rev->getUser() );
$recipientAllowed = true;