summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-08 19:47:15 +0200
committerDylan William Hardison <dylan@hardison.net>2018-04-08 19:47:15 +0200
commit9b78d8ed7e834775af4e45dcfce7f33030a33495 (patch)
tree51ba38bf5bd0213788a95f60a058e3c691889eb3
parent0281830e3110388b1c384c616b58003447438fce (diff)
downloadbugzilla-9b78d8ed7e834775af4e45dcfce7f33030a33495.tar.gz
bugzilla-9b78d8ed7e834775af4e45dcfce7f33030a33495.tar.xz
fix ContributorEngagement
-rw-r--r--extensions/ContributorEngagement/Extension.pm5
-rw-r--r--extensions/ContributorEngagement/disabled0
2 files changed, 4 insertions, 1 deletions
diff --git a/extensions/ContributorEngagement/Extension.pm b/extensions/ContributorEngagement/Extension.pm
index 949517ecf..c5ce29966 100644
--- a/extensions/ContributorEngagement/Extension.pm
+++ b/extensions/ContributorEngagement/Extension.pm
@@ -70,7 +70,10 @@ sub object_columns {
my ($self, $args) = @_;
my ($class, $columns) = @$args{qw(class columns)};
if ($class->isa('Bugzilla::User')) {
- push(@$columns, 'first_patch_reviewed_id');
+ my $dbh = Bugzilla->dbh;
+ if ($dbh->bz_column_info('profiles', 'first_patch_reviewed_id')) {
+ push(@$columns, 'first_patch_reviewed_id');
+ }
}
}
diff --git a/extensions/ContributorEngagement/disabled b/extensions/ContributorEngagement/disabled
deleted file mode 100644
index e69de29bb..000000000
--- a/extensions/ContributorEngagement/disabled
+++ /dev/null