]> git.koha-community.org Git - koha.git/commit
Bug 17594: Make Koha::Object->discard_changes available
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 9 Nov 2016 13:20:16 +0000 (13:20 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 15 Nov 2016 15:15:26 +0000 (15:15 +0000)
commit1da4a7b4a204033b21e8537b2988bdd43a7357ec
tree643648fab73d4d7f5ce5fd685b221a694b09fe48
parent4277f43a91189e5bbe51e82061d0ea3a81167fd7
Bug 17594: Make Koha::Object->discard_changes available

We need this new method to refresh an object after it has been updated.

Test plan:
  prove t/db_dependent/Koha/Object.t
should return green

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Object.pm
t/db_dependent/Koha/Object.t