Bug 7996: (QA follow-up) Remove unnecessary permission check view logs template

Permission is checked in the perl file, no need to check again
in the template.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Katrin Fischer 2018-08-20 07:04:37 +00:00 committed by Nick Clemens
parent a750ebdbd9
commit 3484db7187

View file

@ -81,7 +81,6 @@
<div id="bd">
<div id="yui-main">
<div class="yui-b">
[% IF ( CAN_user_tools_view_system_logs ) %]
<h1>Browse system logs</h1>
<form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
[% IF ( do_it ) %]
@ -190,7 +189,6 @@
<input type="hidden" name="do_it" value="1" />
</fieldset>
</form>
[% END %]
[% IF ( do_it ) %]
[% IF ( total ) %]
<h4>[% total | html %] lines found.</h4>