https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42218

--- Comment #24 from Matt Blenkinsop <[email protected]> ---
Created attachment 210267
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210267&action=edit
Bug 42218: Create a shared UsageObject class

The four usage classes (UsageTitle, UsagePlatform, UsageDatabase and
UsageItem) had byte-identical monthly_usages, yearly_usages and
erm_usage_*uses methods. This moves them to one base class,
Koha::ERM::EUsage::UsageObject, so the yearly usage change in the next
patches is made once. Each subclass keeps only _type.

Assisted-by: Sonnet 5 (Anthropic)
Signed-off-by: Clemens Tubach <[email protected]>
Signed-off-by: Nick Clemens <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to