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>
(cherry picked from commit 3484db7187)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b1aa841e1e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Katrin Fischer 2018-08-20 07:04:37 +00:00 committed by Fridolin Somers
parent 3c78199927
commit 85b488a9ea
1 changed files with 0 additions and 2 deletions

View File

@ -78,7 +78,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 ) %]
@ -187,7 +186,6 @@
<input type="hidden" name="do_it" value="1" />
</fieldset>
</form>
[% END %]
[% IF ( do_it ) %]
[% IF ( total ) %]
<h4>[% total %] lines found.</h4>