X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/82515b2d93dc5632f24d6e0b6f8f05f3fd19fbb0..ba802064109d19f3488e5555ec04491681e37b51:/SL/DB/GLTransaction.pm diff --git a/SL/DB/GLTransaction.pm b/SL/DB/GLTransaction.pm index c4ca221be..352de036d 100644 --- a/SL/DB/GLTransaction.pm +++ b/SL/DB/GLTransaction.pm @@ -4,9 +4,7 @@ use strict; use SL::DB::MetaSetup::GLTransaction; -for my $field (qw(transdate gldate)) { - __PACKAGE__->attr_date($field); -} +__PACKAGE__->meta->initialize; # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. __PACKAGE__->meta->make_manager_class;