mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-15 19:09:52 +00:00
Fix mismatched parentheses
I have no idea how this ever worked properly, but it did. Change-Id: I82efd5054c4f497cc28e06c88d33c654ecb7933a
This commit is contained in:
parent
a32268ae5f
commit
49c061de29
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue