]> git.koha-community.org Git - koha.git/commit
Bug 24446: (QA follow-up) Remove superflous store calls
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 18 Feb 2021 10:54:34 +0000 (10:54 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Mar 2021 14:36:13 +0000 (15:36 +0100)
commitfdaac5394cc77d43da2f7fd9c34a4c854b5ed898
tree6f021d3c2a5805b3f46f2bf6303ba12fe4924140
parenta82279c3620b137620e64b07438371a446022ff1
Bug 24446: (QA follow-up) Remove superflous store calls

The original code here called store after setting each field. Instead,
we set all the fields and call store at the end and save ourselves a few
database hits.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/StockRotationItem.pm