@@ 622-628 (lines=7) @@ | ||
619 | ]; |
|
620 | ||
621 | DeferredUpdates::addCallableUpdate( |
|
622 | function () use ( $rc, $tags ) { |
|
623 | $rc->addTags( $tags ); |
|
624 | $rc->save(); |
|
625 | if ( $rc->mAttribs['rc_patrolled'] ) { |
|
626 | PatrolLog::record( $rc, true, $rc->getPerformer() ); |
|
627 | } |
|
628 | }, |
|
629 | DeferredUpdates::POSTSEND, |
|
630 | wfGetDB( DB_MASTER ) |
|
631 | ); |
|
@@ 695-701 (lines=7) @@ | ||
692 | ]; |
|
693 | ||
694 | DeferredUpdates::addCallableUpdate( |
|
695 | function () use ( $rc, $tags ) { |
|
696 | $rc->addTags( $tags ); |
|
697 | $rc->save(); |
|
698 | if ( $rc->mAttribs['rc_patrolled'] ) { |
|
699 | PatrolLog::record( $rc, true, $rc->getPerformer() ); |
|
700 | } |
|
701 | }, |
|
702 | DeferredUpdates::POSTSEND, |
|
703 | wfGetDB( DB_MASTER ) |
|
704 | ); |