View | Details | Raw Unified | Return to bug 37893
Collapse All | Expand All

(-)a/C4/SIP/Sip/Configuration.pm (+1 lines)
Lines 56-61 sub get_configuration { Link Here
56
    } else {
56
    } else {
57
        $cfg = $current_config;
57
        $cfg = $current_config;
58
    }
58
    }
59
    die unless $cfg;
59
    my %listeners;
60
    my %listeners;
60
61
61
    # The key to the listeners hash is the 'port' component of the
62
    # The key to the listeners hash is the 'port' component of the
(-)a/Koha/SIP2/Object.pm (-1 / +13 lines)
Lines 39-45 This is the base class for SIP2 objects in the Koha library system. Link Here
39
39
40
=head3 store
40
=head3 store
41
41
42
store
42
    store wrapper
43
43
44
=cut
44
=cut
45
45
Lines 50-55 sub store { Link Here
50
    return $self->SUPER::store;
50
    return $self->SUPER::store;
51
}
51
}
52
52
53
=head3 delete
54
55
    delete wrapper
56
57
=cut
58
53
sub delete {
59
sub delete {
54
    my ($self) = @_;
60
    my ($self) = @_;
55
61
Lines 57-62 sub delete { Link Here
57
    return $self->SUPER::delete;
63
    return $self->SUPER::delete;
58
}
64
}
59
65
66
=head3 _update_config_timestamp
67
68
    Updates the sip2_resource_last_modified timestamp in cache
69
70
=cut
71
60
sub _update_config_timestamp {
72
sub _update_config_timestamp {
61
    my $cache = Koha::Caches->get_instance();
73
    my $cache = Koha::Caches->get_instance();
62
    $cache->set_in_cache( 'sip2_resource_last_modified', dt_from_string()->epoch );
74
    $cache->set_in_cache( 'sip2_resource_last_modified', dt_from_string()->epoch );
(-)a/Koha/Schema/Result/SipAccount.pm (+13 lines)
Lines 581-589 __PACKAGE__->add_columns( Link Here
581
    "+show_outstanding_amount" => { is_boolean => 1 }
581
    "+show_outstanding_amount" => { is_boolean => 1 }
582
);
582
);
583
583
584
=head2 koha_objects_class
585
586
  Koha Objects class
587
588
=cut
589
584
sub koha_objects_class {
590
sub koha_objects_class {
585
    'Koha::SIP2::Accounts';
591
    'Koha::SIP2::Accounts';
586
}
592
}
593
594
=head2 koha_object_class
595
596
  Koha Object class
597
598
=cut
599
587
sub koha_object_class {
600
sub koha_object_class {
588
    'Koha::SIP2::Account';
601
    'Koha::SIP2::Account';
589
}
602
}
(-)a/Koha/Schema/Result/SipAccountSystemPreferenceOverride.pm (+12 lines)
Lines 121-130 __PACKAGE__->belongs_to( Link Here
121
121
122
# You can replace this text with custom code or comments, and it will be preserved on regeneration
122
# You can replace this text with custom code or comments, and it will be preserved on regeneration
123
123
124
=head2 koha_objects_class
125
126
  Koha Objects class
127
128
=cut
129
124
sub koha_objects_class {
130
sub koha_objects_class {
125
    'Koha::SIP2::Accounts::SystemPreferenceOverrides';
131
    'Koha::SIP2::Accounts::SystemPreferenceOverrides';
126
}
132
}
127
133
134
=head2 koha_object_class
135
136
  Koha Object class
137
138
=cut
139
128
sub koha_object_class {
140
sub koha_object_class {
129
    'Koha::SIP2::Account::SystemPreferenceOverride';
141
    'Koha::SIP2::Account::SystemPreferenceOverride';
130
}
142
}
(-)a/Koha/Schema/Result/SipInstitution.pm (+13 lines)
Lines 195-203 __PACKAGE__->add_columns( Link Here
195
    "+status_update" => { is_boolean => 1 }
195
    "+status_update" => { is_boolean => 1 }
196
);
196
);
197
197
198
=head2 koha_objects_class
199
200
  Koha Objects class
201
202
=cut
203
198
sub koha_objects_class {
204
sub koha_objects_class {
199
    'Koha::SIP2::Institutions';
205
    'Koha::SIP2::Institutions';
200
}
206
}
207
208
=head2 koha_object_class
209
210
  Koha Object class
211
212
=cut
213
201
sub koha_object_class {
214
sub koha_object_class {
202
    'Koha::SIP2::Institution';
215
    'Koha::SIP2::Institution';
203
}
216
}
(-)a/Koha/Schema/Result/SipSystemPreferenceOverride.pm (-1 / +11 lines)
Lines 72-82 __PACKAGE__->set_primary_key("sip_system_preference_override_id"); Link Here
72
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-02-10 10:27:51
72
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-02-10 10:27:51
73
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:szyNGurH+wJBItdnYfAoRA
73
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:szyNGurH+wJBItdnYfAoRA
74
74
75
=head2 koha_objects_class
76
77
  Koha Objects class
78
79
=cut
75
80
76
sub koha_objects_class {
81
sub koha_objects_class {
77
    'Koha::SIP2::SystemPreferenceOverrides';
82
    'Koha::SIP2::SystemPreferenceOverrides';
78
}
83
}
79
84
85
=head2 koha_object_class
86
87
  Koha Object class
88
89
=cut
90
80
sub koha_object_class {
91
sub koha_object_class {
81
    'Koha::SIP2::SystemPreferenceOverride';
92
    'Koha::SIP2::SystemPreferenceOverride';
82
}
93
}
83
- 

Return to bug 37893