From 89d9184bb17d2a419e9ae79f011dc5a80d89dc2f Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 1 May 2018 15:06:39 +0000 Subject: [PATCH] Bug 14570 [QA Followup] - Fix QA issues with POD --- Koha/Patron.pm | 3 +++ misc/cronjobs/j2a.pl | 1 + 2 files changed, 4 insertions(+) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index efb5a950fc..141eb2a6c8 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -154,6 +154,8 @@ sub image { =head3 library +Returns a Koha::Library object representing the patron's home library. + =cut sub library { @@ -969,6 +971,7 @@ my $is_child = $patron->is_child Return true if the patron has a category with a type Child (C) =cut + sub is_child { my( $self ) = @_; return $self->category->category_type eq 'C' ? 1 : 0; diff --git a/misc/cronjobs/j2a.pl b/misc/cronjobs/j2a.pl index 3a1a3cf4cb..6af24b65fd 100755 --- a/misc/cronjobs/j2a.pl +++ b/misc/cronjobs/j2a.pl @@ -95,6 +95,7 @@ C - Suggests that you read this help. :) C -b= -f= -t= - Processes a single branch, and updates the patron categories from fromcat to tocat. C -f= -t= -v -n - Processes all branches, shows all messages, and reports the patrons who would be affected. Takes no action on the database. + =cut # These variables are set by command line options. -- 2.15.1 (Apple Git-101)