[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5377] trunk/LedgerSMB/DBObject/Budget.pm



Revision: 5377
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5377&view=rev
Author:   einhverfr
Date:     2012-12-18 06:39:37 +0000 (Tue, 18 Dec 2012)
Log Message:
-----------
Removing spurious commits from budget object model

Modified Paths:
--------------
    trunk/LedgerSMB/DBObject/Budget.pm

Modified: trunk/LedgerSMB/DBObject/Budget.pm
===================================================================
--- trunk/LedgerSMB/DBObject/Budget.pm	2012-12-18 06:29:53 UTC (rev 5376)
+++ trunk/LedgerSMB/DBObject/Budget.pm	2012-12-18 06:39:37 UTC (rev 5377)
@@ -211,7 +211,6 @@
     }
     $self->exec_method({funcname => 'budget__save_details'});
     $self->get($ref->{id});
-    $self->{dbh}->commit;
 }
 
 
@@ -340,7 +339,6 @@
 sub approve {
    my ($self) = @_;
    $self->exec_method({funcname => 'budget__approve'});
-   $self->{dbh}->commit;
 }
 
 =item reject
@@ -351,7 +349,6 @@
 sub reject {
    my ($self) = @_;
    $self->exec_method({funcname => 'budget__reject'});
-   $self->{dbh}->commit;
 }
 
 =item obsolete
@@ -362,7 +359,6 @@
 sub obsolete {
    my ($self) = @_;
    $self->exec_method({funcname => 'budget__mark_obsolete'});
-   $self->{dbh}->commit;
 }
 
 =item save_note(subject string, note string)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.