Bug 38685: Remove useless batch_create code

This is not used and not needed.
Noticed when evaluating every potential 'op'.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Pedro Amorim 2024-12-12 12:40:05 +00:00 committed by Katrin Fischer
parent 0323d147dd
commit eee149e5a7
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 1 additions and 4 deletions

View file

@ -461,9 +461,6 @@ if ($backends_available) {
exit;
} elsif ( $op eq "batch_list" ) {
# Do not remove, it prevents us falling through to the 'else'
} elsif ( $op eq "batch_create" ) {
# Do not remove, it prevents us falling through to the 'else'
} else {
$op =~ s/^cud-//;

View file

@ -886,7 +886,7 @@
</fieldset>
</form>
</div>
[% ELSIF op == 'batch_list' || op == 'batch_create' %]
[% ELSIF op == 'batch_list' %]
[% INCLUDE 'ill-batch.inc' %]
[% ELSE %]
<!-- Custom Backend Action -->