Fix mismatched parentheses

I have no idea how this ever worked properly, but it did.

Change-Id: I82efd5054c4f497cc28e06c88d33c654ecb7933a
This commit is contained in:
Jackmcbarn 2014-02-26 18:03:11 -05:00
parent a32268ae5f
commit 49c061de29

View file

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