From e6977ccd4403378ca2a8a0b3083529512a863711 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Date: Thu, 8 Jun 2023 17:33:10 +0200
Subject: [PATCH] Bug 33963: Remove leftovers from previous works

---
 .../intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt    | 2 --
 koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt  | 2 --
 t/lib/Mocks/Zebra.pm                                            | 1 -
 3 files changed, 5 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt
index 1b92c3b0f24..c88a9e2a0b8 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt
@@ -126,8 +126,6 @@
     <input type="hidden" name="profile_id" id="profile_id"/>
 <fieldset class="rows">
         <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
-        <input type="hidden" name="runinbackground" id="runinbackground" value="" />
-        <input type="hidden" name="completedJobID" id="completedJobID" value="" />
     <legend>Settings</legend>
 	<ol><li>
 		<label for="comments">Comments about this file: </label>
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt
index c66a23a910c..d2fd34278e9 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt
@@ -207,8 +207,6 @@
 
                         <form method="post" id="processfile" action="/cgi-bin/koha/tools/upload-cover-image.pl" enctype="multipart/form-data">
                             <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
-                            <input type="hidden" name="runinbackground" id="runinbackground" value="" />
-                            <input type="hidden" name="completedJobID" id="completedJobID" value="" />
 
                             [% IF itemnumber %]
                                 <input type="hidden" id="itemnumber" name="itemnumber" value="[% itemnumber | html %]" />
diff --git a/t/lib/Mocks/Zebra.pm b/t/lib/Mocks/Zebra.pm
index 20f9bc64168..00c76ccf825 100644
--- a/t/lib/Mocks/Zebra.pm
+++ b/t/lib/Mocks/Zebra.pm
@@ -166,7 +166,6 @@ sub load_records_ui {
                 'comments'        => '',
                 'encoding'        => 'utf8',
                 'parse_items'     => '1',
-                'runinbackground' => '1',
                 'record_type'     => 'biblio'
             }
         },
-- 
2.25.1