Bug 24153: (QA follow-up) Removing one redundant initialization line
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 2 Jul 2020 08:35:07 +0000 (08:35 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Jul 2020 14:08:22 +0000 (16:08 +0200)
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

misc/cronjobs/cleanup_database.pl

index 318a225..c2d8e98 100755 (executable)
@@ -283,7 +283,6 @@ if ($zebraqueue_days) {
 if ($mail) {
     my $count = 0;
     print "Mail queue purge triggered for $mail days.\n" if $verbose;
-    $count = 0;
     $sth = $dbh->prepare(
         q{
             DELETE FROM message_queue