X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d2c9cb3b30efe5842aa1118c7cc84eb61c9c5279..3ab26ffc:/SL/Menu.pm diff --git a/SL/Menu.pm b/SL/Menu.pm index 844e3f56f..3b994f2fb 100644 --- a/SL/Menu.pm +++ b/SL/Menu.pm @@ -39,15 +39,11 @@ use SL::Inifile; use strict; -my $instance; - sub new { $main::lxdebug->enter_sub(); my ($type, $menufile) = @_; - return $instance if $instance; - my $self = {}; my $inifile = Inifile->new($menufile); @@ -59,7 +55,7 @@ sub new { $main::lxdebug->leave_sub(); - return $instance = $self; + return $self; } sub menuitem_js {