Bug 20086: (follow-up) No need to call ->new on Koha::Database
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 17 Oct 2019 16:28:15 +0000 (17:28 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 21 Oct 2019 08:46:46 +0000 (09:46 +0100)
commit194a49137f254161721b167a7e2133725e8874e9
tree8d2151f381a8baa9cdec0c6057f72924888de7ca
parent9658cd4d18b330711a7a8e3391a83d52b35050c6
Bug 20086: (follow-up) No need to call ->new on Koha::Database

We should use the existing pattern of calling schema directly on
Koha::Database rather than creating a new object.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Circulation.pm