From ed9ec0633fc6e27986d40b75362f459d10872d79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 11 Dec 2015 16:13:56 +0100 Subject: [PATCH] Form: parse_html_template: AUTH_RIGHTS_ syntax entfernt AUTH.assert im template benutzen bitte. --- SL/Form.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/SL/Form.pm b/SL/Form.pm index 410fdc687..32064f3c0 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -628,12 +628,6 @@ sub _prepare_html_template { $additional_params->{LXDEBUG} = $::lxdebug; $additional_params->{MYCONFIG} = \%::myconfig; - if ($main::auth && $main::auth->{RIGHTS} && $main::auth->{RIGHTS}->{$self->{login}}) { - while (my ($key, $value) = each %{ $main::auth->{RIGHTS}->{$self->{login}} }) { - $additional_params->{"AUTH_RIGHTS_" . uc($key)} = $value; - } - } - $main::lxdebug->leave_sub(); return $file; -- 2.20.1