summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorVladimir Panteleev <github.private@thecybershadow.net>2018-03-18 06:00:50 +0100
committerDylan William Hardison <dylan@hardison.net>2018-03-18 06:00:50 +0100
commit759243934df6a3a1d4bcfacc58ce842206923731 (patch)
tree759dc4f1b24c6f33c30f1ee787a99acde54df213 /Bugzilla/Install
parent38c94eb24d045f086e257c095113ad39ce603e65 (diff)
downloadbugzilla-759243934df6a3a1d4bcfacc58ce842206923731.tar.gz
bugzilla-759243934df6a3a1d4bcfacc58ce842206923731.tar.xz
Bug 1446236 - Allow customizing the name of the "nobody" user (nobody@mozilla.org)
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index e6a7a3be0..2c8a22448 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -3895,7 +3895,7 @@ sub _migrate_group_owners {
my $dbh = Bugzilla->dbh;
return if $dbh->bz_column_info('groups', 'owner_user_id');
$dbh->bz_add_column('groups', 'owner_user_id', {TYPE => 'INT3'});
- my $nobody = Bugzilla::User->check('nobody@mozilla.org');
+ my $nobody = Bugzilla::User->check(Bugzilla->params->{'nobody_user'});
$dbh->do('UPDATE groups SET owner_user_id = ?', undef, $nobody->id);
}