Bugzilla – Attachment 185702 Details for
Bug 38924
Introduce an organization level loan 'Quota' system for Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38924: Remove duplicate sub
Bug-38924-Remove-duplicate-sub.patch (text/plain), 2.14 KB, created by
Victor Grousset/tuxayo
on 2025-08-21 22:54:21 UTC
(
hide
)
Description:
Bug 38924: Remove duplicate sub
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2025-08-21 22:54:21 UTC
Size:
2.14 KB
patch
obsolete
>From 79b411532ba69164a1cee5993c0f48522fca74e3 Mon Sep 17 00:00:00 2001 >From: Victor Grousset/tuxayo <victor@tuxayo.net> >Date: Fri, 22 Aug 2025 00:50:13 +0200 >Subject: [PATCH] Bug 38924: Remove duplicate sub > >It also made the tests fail >--- > Koha/Schema/Result/PatronQuota.pm | 9 +++------ > Koha/Schema/Result/PatronQuotaUsage.pm | 9 +++------ > 2 files changed, 6 insertions(+), 12 deletions(-) > >diff --git a/Koha/Schema/Result/PatronQuota.pm b/Koha/Schema/Result/PatronQuota.pm >index 8c2512d118..b12e8e180b 100644 >--- a/Koha/Schema/Result/PatronQuota.pm >+++ b/Koha/Schema/Result/PatronQuota.pm >@@ -145,6 +145,9 @@ __PACKAGE__->has_many( > # Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-01-30 16:04:36 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KG/MIjPSLcpeSlPypwli2Q > >+ >+# You can replace this text with custom code or comments, and it will be preserved on regeneration >+ > =head3 koha_object_class > > Returns the package name for patron quota objects >@@ -155,12 +158,6 @@ sub koha_object_class { > return 'Koha::Patron::Quota'; > } > >-# You can replace this text with custom code or comments, and it will be preserved on regeneration >- >-sub koha_object_class { >- return 'Koha::Patron::Quota'; >-} >- > sub koha_objects_class { > return 'Koha::Patron::Quotas'; > } >diff --git a/Koha/Schema/Result/PatronQuotaUsage.pm b/Koha/Schema/Result/PatronQuotaUsage.pm >index 0895e7128e..7d48110a8e 100644 >--- a/Koha/Schema/Result/PatronQuotaUsage.pm >+++ b/Koha/Schema/Result/PatronQuotaUsage.pm >@@ -145,6 +145,9 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-08-21 16:54:49 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x+OvLQNInT0DkfPmiZwZzg > >+ >+# You can replace this text with custom code or comments, and it will be preserved on regeneration >+ > =head2 checkout > > Type: belongs_to >@@ -177,12 +180,6 @@ sub koha_object_class { > return 'Koha::Patron::Quota::Usage'; > } > >-# You can replace this text with custom code or comments, and it will be preserved on regeneration >- >-sub koha_object_class { >- return 'Koha::Patron::Quota::Usage'; >-} >- > sub koha_objects_class { > return 'Koha::Patron::Quota::Usages'; > } >-- >2.50.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38924
:
178582
|
178583
|
178584
|
178585
|
178586
|
178587
|
178588
|
178589
|
178590
|
178591
|
178592
|
178593
|
178594
|
178595
|
178596
|
178597
|
178598
|
178599
|
178600
|
178601
|
178602
|
178603
|
178604
|
178605
|
178606
|
178607
|
178608
|
185631
|
185632
|
185633
|
185634
|
185635
|
185636
|
185637
|
185638
|
185639
|
185640
|
185641
|
185642
|
185643
|
185644
|
185645
|
185646
|
185647
|
185648
|
185649
|
185650
|
185651
|
185652
|
185653
|
185654
|
185655
|
185656
|
185657
|
185675
|
185676
|
185677
|
185678
|
185679
|
185680
|
185681
|
185682
|
185683
|
185684
|
185685
|
185686
|
185687
|
185688
|
185689
|
185690
|
185691
|
185692
|
185693
|
185694
|
185695
|
185696
|
185697
|
185698
|
185699
|
185700
|
185701
| 185702