]> git.koha-community.org Git - koha.git/commit
Bug 24467: Remove _count methods introduced for API use
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 22 Jan 2020 15:21:22 +0000 (16:21 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 31 Jan 2020 13:50:52 +0000 (13:50 +0000)
commit77979a03b44ff55b5aba889ca031b5251f0c3e63
treedfde7f1733cd7f3d331c08c5a4a500f60643a6db
parent2dde059059fa30d808350bbb03727bd032d94ff0
Bug 24467: Remove _count methods introduced for API use

This patch removes some methods that were introduced for API usage in
the first iteration of the object embedding development effort.

Those methods were obsoleted by bug 24528, which introduces a smarter
way for Koha::Object->to_api to embed *_count attributes on the output
structure based on the relationships and a call to ->count.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Biblio.t
=> SUCCESS: Tests pass
3. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Biblio.pm
acqui/basket.pl
acqui/parcel.pl
t/db_dependent/Koha/Biblio.t