diff options
author | Mark Wells <mark@freeside.biz> | 2014-04-24 16:17:03 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-04-24 16:17:03 -0700 |
commit | f697781408c7e1b27d7bab73095d707e9c50933e (patch) | |
tree | 235834f5e0815de69f64fd132479953694d0d5ea | |
parent | 0296a565242ead37c8b60cd388b5e11c7e03f757 (diff) |
fix duplicate DESTROY routine
-rw-r--r-- | FS/FS/Cursor.pm | 6 |
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 |