X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/82515b2d93dc5632f24d6e0b6f8f05f3fd19fbb0..66f46ee95d136a6815326740768d4d40ace5d579:/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;