X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupUsersWithNoId.php;h=b2fdf2f9c733cfba6993e17d83b09c15235cfcae;hb=d8eefbe78e9dae930a0d9384f0a9a25b1cd5e0b8;hp=74167d1355ba497045f876cf937fca9629a02b22;hpb=da13e914c0502512f39922f6a53a017ccdebbe38;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupUsersWithNoId.php b/maintenance/cleanupUsersWithNoId.php index 74167d1355..b2fdf2f9c7 100644 --- a/maintenance/cleanupUsersWithNoId.php +++ b/maintenance/cleanupUsersWithNoId.php @@ -110,7 +110,7 @@ class CleanupUsersWithNoId extends LoggedUpdateMaintenance { $next = "$field > $value OR $field = $value AND ($next)"; } } - $display = join( ' ', array_reverse( $display ) ); + $display = implode( ' ', array_reverse( $display ) ); return [ $next, $display ]; } @@ -208,5 +208,5 @@ class CleanupUsersWithNoId extends LoggedUpdateMaintenance { } } -$maintClass = "CleanupUsersWithNoId"; +$maintClass = CleanupUsersWithNoId::class; require_once RUN_MAINTENANCE_IF_MAIN;