summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-04-24 16:17:03 -0700
committerMark Wells <mark@freeside.biz>2014-04-24 16:17:03 -0700
commitf697781408c7e1b27d7bab73095d707e9c50933e (patch)
tree235834f5e0815de69f64fd132479953694d0d5ea
parent0296a565242ead37c8b60cd388b5e11c7e03f757 (diff)
fix duplicate DESTROY routine
-rw-r--r--FS/FS/Cursor.pm6
1 files changed, 0 insertions, 6 deletions
diff --git a/FS/FS/Cursor.pm b/FS/FS/Cursor.pm
index 6d02a16ad..469a678d5 100644
--- 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