Bug 16412: Cache undef in L1 only
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 2 May 2016 10:26:44 +0000 (12:26 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 23 Jun 2016 07:28:53 +0000 (09:28 +0200)
commit7db08616f2eb44debd794ac8d7d42b05728caa50
treeb10a7863be5fe66e0867b809832e4e70f652142c
parent337e8874600f757fe197062fd2967d27316b8cd1
Bug 16412: Cache undef in L1 only

No need to cache undef in L2.
Prevent numerous warnings like:
Use of uninitialized value in subroutine entry at /usr/share/koha/masterclone/Koha/Cache.pm line 284

Test plan:
Run t/Cache.t
Run t/db_dependent/sysprefs.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Amended patch: remove trailing space char and replace 'you' with 'we' to
match existing wordings.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
(cherry picked from commit 7a452ac4149809c212d861ee8b08c3931f23234a)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Koha/Cache.pm