From 7b81cf7d24ded754b7039853c942de1e3346cef8 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 14 May 2011 14:20:18 +0000 Subject: [PATCH] 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 --- maintenance/createAndPromote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); -- 2.20.1