]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Layout/V4.pm
Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
[mfinanz.git] / SL / Layout / V4.pm
index fff1dfe0e46e80f54be315158341fdef587fea32..81789d46663aef44f189505dc2d0839e32431098 100644 (file)
@@ -7,15 +7,11 @@ use SL::Layout::Top;
 
 use URI;
 
-sub new {
-  my ($class, @slurp) = @_;
-
-  my $self = $class->SUPER::new(@slurp);
-  $self->add_sub_layouts(
+sub init_sub_layouts {
+  [
     SL::Layout::Top->new,
     SL::Layout::None->new,
-  );
-  $self;
+  ]
 }
 
 sub start_content {