Bugzilla – Attachment 21655 Details for
Bug 10611
C4::Context->dbh checks if the DB is still running
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10611: Followup: remove useless calls to dbh->disconnect
Bug-10611-Followup-remove-useless-calls-to-dbh-dis.patch (text/plain), 1.24 KB, created by
Jonathan Druart
on 2013-09-30 11:48:11 UTC
(
hide
)
Description:
Bug 10611: Followup: remove useless calls to dbh->disconnect
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-09-30 11:48:11 UTC
Size:
1.24 KB
patch
obsolete
>From 9ecca1c69b74634c7dd05f9105bcf15251f2b2f6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 30 Sep 2013 13:46:39 +0200 >Subject: [PATCH] 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. >--- > 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.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10611
:
19765
|
20273
|
21264
|
21655
|
21656
|
21657
|
21667
|
21668
|
21669
|
22103