X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMovepage.php;h=46d7cf7a87e5d5f962c7d23dd59a1e23260499cb;hp=a2b5be43543141d1bb80689abaf661c5b2b35105;hb=c6d1ceb90a9684fa0da758d88ba1e994fad4cffc;hpb=ed92658c2f515e89a7bdfdc43c525bb1fba04a76 diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index a2b5be4354..46d7cf7a87 100644 --- a/includes/specials/SpecialMovepage.php +++ b/includes/specials/SpecialMovepage.php @@ -105,7 +105,7 @@ class MovePageForm extends UnlistedSpecialPage { $permErrors = $this->oldTitle->getUserPermissionsErrors( 'move', $user ); if ( count( $permErrors ) ) { // Auto-block user's IP if the account was "hard" blocked - DeferredUpdates::addCallableUpdate( function() use ( $user ) { + DeferredUpdates::addCallableUpdate( function () use ( $user ) { $user->spreadAnyEditBlock(); } ); throw new PermissionsError( 'move', $permErrors );