From 138124297338008502fadd944dd758008a3ac71c Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 11 Dec 2017 12:46:05 -0300 Subject: [PATCH] Bug 16735: (QA followup) POD fixes Signed-off-by: Tomas Cohen Arazi --- Koha/Library/Group.pm | 8 +++++--- installer/data/mysql/updatedatabase.pl | 3 +-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Koha/Library/Group.pm b/Koha/Library/Group.pm index 5ac1360fb9..677ae1e6ad 100644 --- a/Koha/Library/Group.pm +++ b/Koha/Library/Group.pm @@ -33,7 +33,7 @@ Koha::Library::Group - Koha Library::Group object class =head1 API -=head2 Class Methods +=head2 Class methods =cut @@ -119,7 +119,7 @@ sub libraries { =head3 all_libraries -my @libraries = $group->libraries( { [invert => 1] } ); +my @libraries = $group->all_libraries( { [invert => 1] } ); Returns the libraries set as children of this group or any subgroup. @@ -174,7 +174,9 @@ sub store { return $self->SUPER::store(@_); } -=head3 type +=head2 Internal methods + +=head3 _type =cut diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index bbb749d233..aef654ae55 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -15179,7 +15179,6 @@ if( CheckVersion( $DBversion ) ) { $DBversion = "XXX"; if ( CheckVersion($DBversion) ) { - require Koha::Library::Group; $dbh->do(q{ INSERT INTO library_groups ( title, description, created_on ) VALUES ( '__SEARCH_GROUPS__', 'Library search groups - Staff only', NOW() ) @@ -15223,7 +15222,7 @@ if ( CheckVersion($DBversion) ) { # $dbh->do("DROP TABLE branchrelations"); # $dbh->do("DROP TABLE branchcategories"); - print "Upgrade to $DBversion done (Bug 16735 - Replace existing library search groups functionality with the new hierarchical groups system)\n"; + print "Upgrade to $DBversion done (Bug 16735 - Migrate library search groups into the new hierarchical groups)\n"; SetVersion($DBversion); } -- 2.14.1