summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/lib/Data.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-10-15 18:40:18 +0200
committerByron Jones <bjones@mozilla.com>2013-10-15 18:40:18 +0200
commita3841dfd8f9fc019eda1ccf57c91b7305cef1c7e (patch)
tree9b5124365c8f6ce5c4730db2081d880660ba0f32 /extensions/BMO/lib/Data.pm
parent46ab4b8a85d62bc7b06c1d84c5e9553f9fade0ae (diff)
downloadbugzilla-a3841dfd8f9fc019eda1ccf57c91b7305cef1c7e.tar.gz
bugzilla-a3841dfd8f9fc019eda1ccf57c91b7305cef1c7e.tar.xz
Bug 916906: attaching a file which just contains a github url should automatically redirect to it when viewing
Diffstat (limited to 'extensions/BMO/lib/Data.pm')
-rw-r--r--extensions/BMO/lib/Data.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/extensions/BMO/lib/Data.pm b/extensions/BMO/lib/Data.pm
index e730f84ea..e070cd244 100644
--- a/extensions/BMO/lib/Data.pm
+++ b/extensions/BMO/lib/Data.pm
@@ -39,7 +39,10 @@ our @EXPORT = qw( $cf_visible_in_products
%group_auto_cc
%product_sec_groups
%create_bug_formats
- @default_named_queries );
+ @default_named_queries
+ GITHUB_PR_CONTENT_TYPE );
+
+use constant GITHUB_PR_CONTENT_TYPE => 'text/x-github-pull-request';
# Which custom fields are visible in which products and components.
#