X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FcreateAndPromote.php;h=79f725426d23df768369f31e5c929d19cbbbb3c2;hb=64ca212514d48330ff02fdaed34563e0b75e22c4;hp=a8de640b0154465d9ac888e6af3bceb942d51e85;hpb=1d00b757fc894d93624cd53121aa274118f17cb2;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/createAndPromote.php b/maintenance/createAndPromote.php index a8de640b01..79f725426d 100644 --- a/maintenance/createAndPromote.php +++ b/maintenance/createAndPromote.php @@ -76,6 +76,7 @@ class CreateAndPromote extends Maintenance { if ( $exists && !$password && count( $promotions ) === 0 ) { $this->output( "Account exists and nothing to do.\n" ); + return; } elseif ( count( $promotions ) !== 0 ) { $promoText = "User:{$username} into " . implode( ', ', $promotions ) . "...\n";