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

(-)a/Koha/Patron.pm (+3 lines)
Lines 154-159 sub image { Link Here
154
154
155
=head3 library
155
=head3 library
156
156
157
Returns a Koha::Library object representing the patron's home library.
158
157
=cut
159
=cut
158
160
159
sub library {
161
sub library {
Lines 969-974 my $is_child = $patron->is_child Link Here
969
Return true if the patron has a category with a type Child (C)
971
Return true if the patron has a category with a type Child (C)
970
972
971
=cut
973
=cut
974
972
sub is_child {
975
sub is_child {
973
    my( $self ) = @_;
976
    my( $self ) = @_;
974
    return $self->category->category_type eq 'C' ? 1 : 0;
977
    return $self->category->category_type eq 'C' ? 1 : 0;
(-)a/misc/cronjobs/j2a.pl (-1 / +1 lines)
Lines 95-100 C<juv2adult.pl> - Suggests that you read this help. :) Link Here
95
C<juv2adult.pl> -b=<branchcode> -f=<categorycode> -t=<categorycode>  - Processes a single branch, and updates the patron categories from fromcat to tocat.
95
C<juv2adult.pl> -b=<branchcode> -f=<categorycode> -t=<categorycode>  - Processes a single branch, and updates the patron categories from fromcat to tocat.
96
96
97
C<juv2adult.pl> -f=<categorycode> -t=<categorycode> -v -n - Processes all branches, shows all messages, and reports the patrons who would be affected. Takes no action on the database.
97
C<juv2adult.pl> -f=<categorycode> -t=<categorycode> -v -n - Processes all branches, shows all messages, and reports the patrons who would be affected. Takes no action on the database.
98
98
=cut
99
=cut
99
100
100
# These variables are set by command line options.
101
# These variables are set by command line options.
101
- 

Return to bug 14570