Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/Extension.pm.erb')
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/Extension.pm.erb10
1 files changed, 9 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/Extension.pm.erb b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/Extension.pm.erb
index f3b12b369..c9ff65bdc 100644
--- a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/Extension.pm.erb
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/Extension.pm.erb
@@ -13,7 +13,10 @@
package Bugzilla::Extension::Mylyn;
use strict;
use base qw(Bugzilla::Extension);
-
+use constant MORE_SUB_CLASSES => qw(
+ Bugzilla::Extension::Mylyn::Gerrit
+ Bugzilla::Extension::Mylyn::Git
+ );
# This code for this is in ./extensions/Mylyn/lib/Util.pm
use Bugzilla::Extension::Mylyn::Util;
@@ -425,4 +428,9 @@ sub install_before_final_checks {
print "Mylyn Extension: end of install-before_final_checks hook\n" unless $args->{silent};
}
+sub bug_url_sub_classes {
+ my ($self, $args) = @_;
+ push @{ $args->{sub_classes} }, MORE_SUB_CLASSES;
+}
+
__PACKAGE__->NAME;

Back to the top