diff options
author | dklawren <dklawren@users.noreply.github.com> | 2018-09-07 12:04:50 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-09-07 12:04:50 +0200 |
commit | 2e6e3e13587ee526ba94faabd5551e67508518f5 (patch) | |
tree | d54e6a7bf25c0545ef23e4854f70d5a55589b2a7 /extensions/BMO | |
parent | a68b0d94e176d37e1381f38f235f760ca0a1001d (diff) | |
download | bugzilla-2e6e3e13587ee526ba94faabd5551e67508518f5.tar.gz bugzilla-2e6e3e13587ee526ba94faabd5551e67508518f5.tar.xz |
Bug 1488292 - Remove MozReview extension from BMO code tree as MozReview is being decommissioned
Diffstat (limited to 'extensions/BMO')
-rw-r--r-- | extensions/BMO/lib/Data.pm | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/extensions/BMO/lib/Data.pm b/extensions/BMO/lib/Data.pm index b444d6a24..dc6a3894f 100644 --- a/extensions/BMO/lib/Data.pm +++ b/extensions/BMO/lib/Data.pm @@ -27,21 +27,6 @@ our @EXPORT = qw( $cf_visible_in_products # will result in the user being redirected to that URL when viewing the # attachment. -my $mozreview_url_re = qr{ - # begins with mozreview hostname - ^ - https?://reviewboard(?:-dev)?\.(?:allizom|mozilla)\.org - - # followed by a review path - /r/\d+ - - # ends with optional suffix - (?: / - | /diff/\#index_header - )? - $ -}ix; - sub phabricator_url_re { my $phab_uri = Bugzilla->params->{phabricator_base_uri} || 'https://example.com'; return qr/^\Q${phab_uri}\ED\d+$/i; @@ -54,12 +39,6 @@ our %autodetect_attach_urls = ( content_type => 'text/x-github-pull-request', can_review => 1, }, - reviewboard => { - title => 'MozReview', - regex => $mozreview_url_re, - content_type => 'text/x-review-board-request', - can_review => 1, - }, Phabricator => { title => 'Phabricator', regex => \&phabricator_url_re, |