Bug 5032 Remove duplicate code
authorColin Campbell <colin.campbell@ptfs-europe.com>
Sun, 18 Jul 2010 16:05:55 +0000 (17:05 +0100)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 6 Oct 2010 11:56:53 +0000 (07:56 -0400)
Two duplicate calls to GetSerials appear to have been merged in
to no purpose other than to generate warnings

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
serials/subscription-detail.pl

index b6538fe..7324d59 100755 (executable)
@@ -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)