mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-15 19:09:52 +00:00
Merge "Fix mismatched parentheses"
This commit is contained in:
commit
9254f821a9
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue