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 commit3484db7187) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commitb1aa841e1e) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
3c78199927
commit
85b488a9ea
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue