From d69df798c1d391d7be5ee08c3f4cc31298bb0d27 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 30 Sep 2013 13:46:39 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 10611: Followup: remove useless calls to dbh->disconnect These 3 calls to disconnect are done at the end of the script, they are useless. Signed-off-by: Bernardo Gonzalez Kriegel --- installer/install.pl | 2 -- misc/cronjobs/j2a.pl | 1 - sms/sms_listen.pl | 1 - 3 files changed, 4 deletions(-) diff --git a/installer/install.pl b/installer/install.pl index 58388cb..f682e95 100755 --- a/installer/install.pl +++ b/installer/install.pl @@ -382,8 +382,6 @@ elsif ( $step && $step == 3 ) { ); } } - - $dbh->disconnect; } } else { diff --git a/misc/cronjobs/j2a.pl b/misc/cronjobs/j2a.pl index 87edaa4..75d4da1 100755 --- a/misc/cronjobs/j2a.pl +++ b/misc/cronjobs/j2a.pl @@ -234,4 +234,3 @@ if ( not $noaction) { } $sth->finish( ); } -$dbh->disconnect(); diff --git a/sms/sms_listen.pl b/sms/sms_listen.pl index b36b25d..a7420d9 100755 --- a/sms/sms_listen.pl +++ b/sms/sms_listen.pl @@ -108,7 +108,6 @@ foreach my $user(@phones){ } print $reply; } -$dbh->disconnect; sub send_message { my ($mes,$message,$smsid)=@_; -- 1.7.9.5