freeside/FS/FS part_export.pm,1.97,1.98
ivan
ivan at pouncequick.420.am
Tue Oct 26 05:07:29 PDT 2004
- Previous message: freeside/FS/FS part_bill_event.pm,1.14,1.15
- Next message: freeside/httemplate/docs overview-new.dia,NONE,1.1 overview-new.png,NONE,1.1 selfservice.html,NONE,1.1 export.html,1.5,1.6 index.html,1.8,1.9 billing.html,1.8,1.9 schema.html,1.42,1.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv4421
Modified Files:
part_export.pm
Log Message:
allow an empty exporttype so you can create new objects
Index: part_export.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export.pm,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- part_export.pm 26 Oct 2004 11:26:33 -0000 1.97
+++ part_export.pm 26 Oct 2004 12:07:26 -0000 1.98
@@ -390,8 +390,9 @@
my $exporttype = $self->exporttype;
my $class = ref($self). "::$exporttype";
eval "use $class;";
- die $@ if $@;
- bless($self, $class);
+ #die $@ if $@;
+ bless($self, $class) unless $@;
+ $self;
}
#these should probably all go away, just let the subclasses define em
- Previous message: freeside/FS/FS part_bill_event.pm,1.14,1.15
- Next message: freeside/httemplate/docs overview-new.dia,NONE,1.1 overview-new.png,NONE,1.1 selfservice.html,NONE,1.1 export.html,1.5,1.6 index.html,1.8,1.9 billing.html,1.8,1.9 schema.html,1.42,1.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list