summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-03-10 22:28:41 +0100
committerDylan William Hardison <dylan@hardison.net>2018-03-10 22:28:41 +0100
commite4bd13639d5c5f436628e2aa766dca75328627c0 (patch)
treea5c39a5a4d8fb00d50ad23c1ef98ba41f43fca01 /Bugzilla/Install.pm
parent7219f4ad16340e5a644217ee0db1054d66e4dbd4 (diff)
downloadbugzilla-e4bd13639d5c5f436628e2aa766dca75328627c0.tar.gz
bugzilla-e4bd13639d5c5f436628e2aa766dca75328627c0.tar.xz
make the default workflow the same as bmo
Diffstat (limited to 'Bugzilla/Install.pm')
-rw-r--r--Bugzilla/Install.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm
index 8e6d21d52..6d47a143f 100644
--- a/Bugzilla/Install.pm
+++ b/Bugzilla/Install.pm
@@ -19,6 +19,7 @@ use 5.10.1;
use strict;
use warnings;
+use Bugzilla::Logging;
use Bugzilla::Component;
use Bugzilla::Config qw(:admin);
use Bugzilla::Constants;
@@ -391,6 +392,7 @@ sub init_workflow {
'SELECT value, id FROM bug_status', {Columns=>[1,2]}) };
foreach my $pair (STATUS_WORKFLOW) {
+ WARN("unknown bug_status: " . $pair->[1]) unless $status_ids{$pair->[1]};
my $old_id = $pair->[0] ? $status_ids{$pair->[0]} : undef;
my $new_id = $status_ids{$pair->[1]};
$dbh->do('INSERT INTO status_workflow (old_status, new_status)