projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca9395
)
Revert "Menu Instance als Singleton cachen."
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 11 Sep 2012 15:22:52 +0000
(17:22 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 17 Oct 2012 13:57:24 +0000
(15:57 +0200)
This reverts commit
b76380d4aaab32fd83ba5cfc7e071455093192e1
.
Conflicts:
SL/Menu.pm
SL/Menu.pm
patch
|
blob
|
history
diff --git
a/SL/Menu.pm
b/SL/Menu.pm
index
eac4e2f
..
3b994f2
100644
(file)
--- a/
SL/Menu.pm
+++ b/
SL/Menu.pm
@@
-39,18
+39,11
@@
use SL::Inifile;
use strict;
-my $instance;
-
sub new {
$main::lxdebug->enter_sub();
my ($type, $menufile) = @_;
- if ($instance) {
- $::lxdebug->leave_sub;
- return $instance;
- }
-
my $self = {};
my $inifile = Inifile->new($menufile);
@@
-62,7
+55,7
@@
sub new {
$main::lxdebug->leave_sub();
- return $
instance = $
self;
+ return $self;
}
sub menuitem_js {