Koha/tools
Marcel de Rooy e722c0a29f Bug 18149: Move CountUsage calls to Koha namespace
After the introduction of Koha::Authorities->get_usage_count with bug
9988, we can now replace the remaining occurrences of CountUsage.

At the same time we remove CountUsageChildren. This was an empty sub.
The typo get_count_usage in a subtest title is adjusted.

Test plan:
[1] Run t/db_dependent/Koha/Authorities.t
[2] Perform a search on authorities-home.pl and verify that you see
    plausible numbers for 'used in xx records'.
[3] Click on Details for one authority. See the same number?
[4] Do the same as in 2/3 for Authority search on OPAC.
[5] Remember the authid and enter this in the record numbers box on
    tools/batch_delete_records.pl. Select Authorities and click
    Continue. The next form shows a column "Used in". Do you see
    the same count again?
[6] Git grep CountUsage.
    You should see just one hit in a comment that can be kept in
    Koha/Authorities.pm.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-09-19 11:47:32 -03:00
..
csv-profiles
quotes
ajax-inventory.pl
automatic_item_modification_by_age.pl Bug 16889: Remove C4::Items::biblioitems_columns and use Koha::Biblioitems->columns instead 2016-07-15 18:12:13 +00:00
background-job-progress.pl
batch_delete_records.pl Bug 18149: Move CountUsage calls to Koha namespace 2017-09-19 11:47:32 -03:00
batch_record_modification.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
batch_records_ajax.pl
batchMod.pl
cleanborrowers.pl
copy-holidays.pl
csv-profiles.pl
exceptionHolidays.pl
export.pl
holidays.pl
import_borrowers.pl Bug 17829: (follow-up) Fix import patron 2017-08-22 13:42:43 -03:00
inventory.pl Bug 19023 - inventory tool performance 2017-08-09 16:51:41 -03:00
koha-news.pl
letter.pl
manage-marc-import.pl
marc_modification_templates.pl
modborrowers.pl Bug 19073: (bug 15758 follow-up) Dereference correct value from Koha::Object. 2017-08-10 16:25:33 -03:00
newHolidays.pl
overduerules.pl
picture-upload.pl
quotes-upload.pl
quotes.pl
scheduler.pl
showdiffmarc.pl Bug 19040: [QA Follow-up] Adjust embed_items parameter in showdiffmarc 2017-08-25 10:23:42 -03:00
stage-marc-import.pl Bug 19163: Critical typo in stage-marc-import process 2017-08-23 10:22:32 -03:00
tools-home.pl
upload-cover-image.pl
upload-file.pl
upload.pl
viewlog.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00