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

SF.net SVN: ledger-smb:[6355] branches/1.3/LedgerSMB/DBObject.pm

Revision: 6355
Author:   einhverfr
Date:     2014-01-02 15:54:49 +0000 (Thu, 02 Jan 2014)
Log Message:
Removing check for LedgerSMB base object.  This was previously required before we moved a lot of stuff to App_State but with the current set-up it does more harm than good, and it keeps a lot of backported addons from working out of the box.

Modified Paths:

Modified: branches/1.3/LedgerSMB/DBObject.pm
--- branches/1.3/LedgerSMB/DBObject.pm	2014-01-02 15:54:17 UTC (rev 6354)
+++ branches/1.3/LedgerSMB/DBObject.pm	2014-01-02 15:54:49 UTC (rev 6355)
@@ -72,9 +72,6 @@
     else {
         @mergelist = ();
-    if ( !$base->isa('LedgerSMB') ) {
-        $self->error("Constructor called without LedgerSMB object arg");
-    }
     my $attr;
     if (lc($mode) eq 'base'){

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

Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
Ledger-smb-commits mailing list