From 0674bda69ba26fe0c02511aacd6f522e6974c517 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 7 Jun 2010 16:33:12 +0000 Subject: [PATCH] Save settings after adding the groups, or the groups don't stick --- includes/installer/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 706250642c..376528f8c2 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -900,9 +900,9 @@ abstract class Installer { } catch( PasswordError $pwe ) { return Status::newFatal( 'config-admin-error-password', $name, $pwe->getMessage() ); } - $user->saveSettings(); $user->addGroup( 'sysop' ); $user->addGroup( 'bureaucrat' ); + $user->saveSettings(); } return Status::newGood(); } -- 2.20.1