[freeside-commits] branch master updated. f697781408c7e1b27d7bab73095d707e9c50933e

Mark Wells mark at 420.am
Thu Apr 24 16:17:15 PDT 2014


The branch, master has been updated
       via  f697781408c7e1b27d7bab73095d707e9c50933e (commit)
      from  0296a565242ead37c8b60cd388b5e11c7e03f757 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f697781408c7e1b27d7bab73095d707e9c50933e
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Apr 24 16:17:03 2014 -0700

    fix duplicate DESTROY routine

diff --git a/FS/FS/Cursor.pm b/FS/FS/Cursor.pm
index 6d02a16..469a678 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

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Cursor.pm |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)




More information about the freeside-commits mailing list