From ae870e767a3edbb786e4815220c57ca624e3d5e3 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 follow-up) POD fixes Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- 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 cbfb1c62ff..6017a5526d 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -15247,7 +15247,6 @@ if( CheckVersion( $DBversion ) ) { $DBversion = '17.12.00.008'; 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() ) @@ -15287,7 +15286,7 @@ if ( CheckVersion($DBversion) ) { } } - 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.39.5