projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0296a56
)
fix duplicate DESTROY routine
author
Mark Wells
<mark@freeside.biz>
Thu, 24 Apr 2014 23:17:03 +0000
(16:17 -0700)
committer
Mark Wells
<mark@freeside.biz>
Thu, 24 Apr 2014 23:17:03 +0000
(16:17 -0700)
FS/FS/Cursor.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Cursor.pm
b/FS/FS/Cursor.pm
index
6d02a16
..
469a678
100644
(file)
--- a/
FS/FS/Cursor.pm
+++ b/
FS/FS/Cursor.pm
@@
-108,12
+108,6
@@
sub DESTROY {
dbh->do('CLOSE '. $self->{id}) or die dbh->errstr; # clean-up the cursor in Pg
}
-sub DESTROY {
- my $self = shift;
- my $statement = "CLOSE ".$self->{id};
- dbh->do($statement);
-}
-
=back
=head1 TO DO