]> git.koha-community.org Git - koha.git/commit
Bug 16955: Do not clear from cache when adding a new framework
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Aug 2016 08:43:01 +0000 (09:43 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 24 Aug 2016 10:41:33 +0000 (12:41 +0200)
commit32e5f75630a85619725482f09e1bae33d9ea7b48
tree81894c5fa792b19f5f6591bea18e5619ff276971
parent0688481749e474cf87d16e2bbdd6a60eff1ed9ff
Bug 16955: Do not clear from cache when adding a new framework

There are several issues with these lines:
1/ $cache is not defined correctly and it not visible inside
duplicate_framework
2/ $frameworkcode is a wrong c/p, it should be $newframeworkcode
3/ these calls are not needed. As we are creating a new framework, the cache
should be empty...

This patch will simply remove these calls

Test plan:
Duplicate a framework and confirm that you do not get any error in your
logs.

Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 84812129c979557cd2232c3a8b5b0f01c368a634)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit c05e2c13552ec9236de8ba8052864d91134516a3)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
admin/marctagstructure.pl