Bug 25672: (QA follow-up): tidy up code
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
ea22082649
commit
da2083288e
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ if ($plugins_enabled) {
|
|||
}
|
||||
);
|
||||
|
||||
$template->param( plugins => \@plugins, );
|
||||
$template->param( plugins => \@plugins, );
|
||||
$template->param( plugins_restricted => C4::Context->config('plugins_restricted') );
|
||||
|
||||
$template->param( can_search => C4::Context->config('plugin_repos') ? 1 : 0 );
|
||||
|
|
|
@ -40,7 +40,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
|
||||
my $class = $input->param('class');
|
||||
|
||||
if ( $class ) {
|
||||
if ($class) {
|
||||
Koha::Plugins::Handler->delete( { class => $class } );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue