diff options
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl index da368a822..53a709ebf 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -96,6 +96,7 @@ exit if $switch{'check-modules'}; # get a cryptic perl error about the missing module. require Bugzilla; +require Bugzilla::User; require Bugzilla::Config; import Bugzilla::Config qw(:admin); @@ -196,6 +197,9 @@ Bugzilla::Install::DB::update_table_definitions(\%old_params); Bugzilla::Install::update_system_groups(); +# "Log In" as the fake superuser who can do everything. +Bugzilla->set_user(Bugzilla::User->super_user); + ########################################################################### # Create --SETTINGS-- users can adjust ########################################################################### |