projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
init_sub_layouts ist sauberer
[kivitendo-erp.git]
/
SL
/
Layout
/
V3.pm
diff --git
a/SL/Layout/V3.pm
b/SL/Layout/V3.pm
index
78b498e
..
4769c40
100644
(file)
--- a/
SL/Layout/V3.pm
+++ b/
SL/Layout/V3.pm
@@
-6,16
+6,8
@@
use SL::Layout::Css;
use URI;
-sub new {
- my ($class, @slurp) = @_;
-
- my $self = $class->SUPER::new(@slurp);
-
- $self->add_sub_layouts([
- SL::Layout::None->new,
- ]);
-
- $self;
+sub init_sub_layouts {
+ [ SL::Layout::None->new ]
}
sub pre_content {