From 48a10d3183161c131e29bcf9ff5b6ac281babe26 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Sun, 18 Jul 2010 17:05:55 +0100 Subject: [PATCH] Bug 5032 Remove duplicate code Two duplicate calls to GetSerials appear to have been merged in to no purpose other than to generate warnings Signed-off-by: Galen Charlton --- serials/subscription-detail.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl index b6538fe155..7324d59842 100755 --- a/serials/subscription-detail.pl +++ b/serials/subscription-detail.pl @@ -93,9 +93,6 @@ if ($op eq 'del') { } } my $hasRouting = check_routing($subscriptionid); -my ($totalissues,@serialslist) = GetSerials($subscriptionid); -$totalissues-- if $totalissues; # the -1 is to have 0 if this is a new subscription (only 1 issue) -# the subscription must be deletable if there is NO issues for a reason or another (should not happend, but...) my ($user, $sessionID, $flags); ($user, $cookie, $sessionID, $flags) -- 2.39.5