HHVM removal: Drop HHVM support for MovePage execution of TimeMoveComplete

Change-Id: I5b1a41d8267ca322d641b66cff9ca418eba585ea
This commit is contained in:
James D. Forrester 2019-10-02 17:04:19 -07:00 committed by Jforrester
parent c00e7cd793
commit 60a064feaa

View file

@ -664,9 +664,7 @@ class MovePage {
new AtomicSectionUpdate(
$dbw,
__METHOD__,
// Hold onto $user to avoid HHVM bug where it no longer
// becomes a reference (T118683)
function () use ( $params, &$user ) {
function () use ( $params ) {
Hooks::run( 'TitleMoveComplete', $params );
}
)