From: Roan Kattouw Date: Sat, 14 May 2011 14:20:18 +0000 (+0000) Subject: Fix broken --sysop flag in r87480: it was triggering the bureaucrat right instead... X-Git-Tag: 1.31.0-rc.0~30198 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=7b81cf7d24ded754b7039853c942de1e3346cef8;p=lhc%2Fweb%2Fwiklou.git Fix broken --sysop flag in r87480: it was triggering the bureaucrat right instead, and createAndPromote.php couldn't be used to create sysops at all --- diff --git a/maintenance/createAndPromote.php b/maintenance/createAndPromote.php index db25a2fe21..0d7de9a964 100644 --- a/maintenance/createAndPromote.php +++ b/maintenance/createAndPromote.php @@ -61,7 +61,7 @@ class CreateAndPromote extends Maintenance { # Promote user if ( $this->hasOption( 'sysop' ) ) { - $user->addGroup( 'bureaucrat' ); + $user->addGroup( 'sysop' ); } if ( $this->hasOption( 'bureaucrat' ) ) { $user->addGroup( 'bureaucrat' );