Skip to content

Commit 71243c0

Browse files
committed
extensions/BugModal/lib/WebService.pm: Remove Firefox-specific BMO logic
1 parent 44b4458 commit 71243c0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

extensions/BugModal/lib/WebService.pm

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -244,20 +244,6 @@ sub new_product {
244244
$version->{selected} = $true;
245245
$selected_version = $version;
246246
}
247-
elsif ($current_version =~ /^(\d+) Branch$/
248-
|| $current_version =~ /^Firefox (\d+)$/
249-
|| $current_version =~ /^(\d+)$/)
250-
{
251-
# Firefox, with its three version naming schemes
252-
my $branch = $1;
253-
foreach my $test_version ("$branch Branch", "Firefox $branch", $branch) {
254-
if (my $version = first_value { $_->{name} eq $test_version } @$versions) {
255-
$version->{selected} = $true;
256-
$selected_version = $version;
257-
last;
258-
}
259-
}
260-
}
261247
if (!$selected_version) {
262248

263249
# "unspecified", "other"

0 commit comments

Comments
 (0)