Bug 21073: (QA follow-up) Avoid unnecessary unless/else construct
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
0bdb41bf1a
commit
3175eebdfc
|
|
@ -86,9 +86,9 @@ if ($plugins_enabled) {
|
|||
$template->param( ERRORS => [ \%errors ] );
|
||||
output_html_with_http_headers $input, $cookie, $template->output;
|
||||
exit;
|
||||
} else {
|
||||
Koha::Plugins->new()->InstallPlugins();
|
||||
}
|
||||
|
||||
Koha::Plugins->new()->InstallPlugins();
|
||||
}
|
||||
} elsif ( ( $op eq 'Upload' ) && !$uploadfile ) {
|
||||
warn "Problem uploading file or no file uploaded.";
|
||||
|
|
|
|||
Loading…
Reference in New Issue