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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 16 Dec 2022 16:01:38 +0000 (17:01 +0100)
commit56ada053c4fb2ee389e49cfed3f46c94f8746a37
treef1e508e8add02ec4fe3e7399ab56650ee5e4437d
parent2b15a60afdf713f55dffb1d1d7d3610bb8ee6087
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>
(cherry picked from commit 867c03bf6abba10eff72d125efca02c72ecba2e0)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.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