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

SF.net SVN: ledger-smb:[4758] trunk/LedgerSMB/DBObject_Moose.pm



Revision: 4758
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4758&view=rev
Author:   einhverfr
Date:     2012-05-23 06:00:43 +0000 (Wed, 23 May 2012)
Log Message:
-----------
DBObject_Moose shoudl be able to support call_procedure before new (for constructors from the db)

Modified Paths:
--------------
    trunk/LedgerSMB/DBObject_Moose.pm

Modified: trunk/LedgerSMB/DBObject_Moose.pm
===================================================================
--- trunk/LedgerSMB/DBObject_Moose.pm	2012-05-23 05:54:07 UTC (rev 4757)
+++ trunk/LedgerSMB/DBObject_Moose.pm	2012-05-23 06:00:43 UTC (rev 4758)
@@ -103,8 +103,7 @@
 
 sub call_procedure {
     my $self   = shift @_; 
-    my $dbo = $self->_to_dbobject;
-    return $dbo->call_procedure(@_);
+    return LedgerSMB::DBObject::call_procedure(@_);
 }
 
 # Keeping this here due to common requirements

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