fix duplicate DESTROY routine
authorMark Wells <mark@freeside.biz>
Thu, 24 Apr 2014 23:17:03 +0000 (16:17 -0700)
committerMark Wells <mark@freeside.biz>
Thu, 24 Apr 2014 23:17:03 +0000 (16:17 -0700)
FS/FS/Cursor.pm

index 6d02a16..469a678 100644 (file)
@@ -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