Bug 31196: Remove 'default_value_for_mod_marc-' clear_from_cache calls
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 20 Jul 2022 07:38:57 +0000 (09:38 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 5 Dec 2022 23:19:21 +0000 (23:19 +0000)
commit867c03bf6abba10eff72d125efca02c72ecba2e0
tree43c5405e9584bafdbe84ac17183e16429cf3acd0
parent13ec1f0de404d1b572c0b22b8ee183876bcfe487
Bug 31196: Remove 'default_value_for_mod_marc-' clear_from_cache calls

We are seeing the following lines several times in the codebase
  $cache->clear_from_cache("default_value_for_mod_marc-");

But values are never set for this key.

Test plan:
Ask you, "Is the above correct?"
Use the correct 'git grep' and 'git log' and confirm the assertion.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 93d44d18759d43a09f6c623ffe4fa81dca4dcaa2)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
12 files changed:
admin/biblio_framework.pl
admin/koha2marclinks.pl
admin/marc_subfields_structure.pl
admin/marctagstructure.pl
installer/data/mysql/updatedatabase.pl
t/db_dependent/Items.t
t/db_dependent/Items/AutomaticItemModificationByAge.t
t/db_dependent/Koha/Biblio.t
t/db_dependent/Koha/Item.t
t/db_dependent/Koha/Item/Attributes.t
t/db_dependent/Koha/UI/Form/Builder/Item.t
t/db_dependent/Reserves.t