Bug 29951: Fix EXPORT for C4::ClassS*Routine modules
Can't locate object method "subclasses" via package "C4::ClassSplitRoutine" at /kohadevbox/koha/C4/ClassSplitRoutine.pm line 53
Certainly from bug 17600.
Test plan:
Home -> Administration -> Classification sources -> New splitting rule
And create classification sources and filing rules.
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 69513449db)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
98158c5795
commit
7f52fa4a73
|
|
@ -1,7 +1,7 @@
|
|||
package C4::ClassSortRoutine;
|
||||
|
||||
# Copyright (C) 2007 LibLime
|
||||
#
|
||||
# Copyright 2022 Koha Development Team
|
||||
#
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
|
|
@ -17,11 +17,9 @@ package C4::ClassSortRoutine;
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Modern::Perl;
|
||||
|
||||
use Class::Factory::Util;
|
||||
use C4::Context;
|
||||
|
||||
our (@ISA, @EXPORT_OK);
|
||||
BEGIN {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
package C4::ClassSource;
|
||||
|
||||
# Copyright (C) 2007 LibLime
|
||||
#
|
||||
# Copyright 2022 Koha Development Team
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
|
|
@ -17,8 +16,7 @@ package C4::ClassSource;
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Modern::Perl;
|
||||
|
||||
use C4::Context;
|
||||
use C4::ClassSortRoutine qw( GetClassSortKey );
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package C4::ClassSplitRoutine;
|
||||
|
||||
# Copyright 2018 Koha Development Team
|
||||
# Copyright 2022 Koha Development Team
|
||||
#
|
||||
# This file is part of Koha.
|
||||
#
|
||||
|
|
@ -19,10 +19,16 @@ package C4::ClassSplitRoutine;
|
|||
|
||||
use Modern::Perl;
|
||||
|
||||
require Exporter;
|
||||
|
||||
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
|
||||
use Class::Factory::Util;
|
||||
|
||||
our (@ISA, @EXPORT_OK);
|
||||
BEGIN {
|
||||
require Exporter;
|
||||
@ISA = qw(Exporter);
|
||||
@EXPORT_OK = qw(
|
||||
GetSplitRoutineNames
|
||||
);
|
||||
}
|
||||
|
||||
=head1 NAME
|
||||
|
||||
|
|
@ -36,11 +42,6 @@ use C4::ClassSplitRoutine;
|
|||
|
||||
=cut
|
||||
|
||||
@ISA = qw(Exporter);
|
||||
@EXPORT = qw(
|
||||
GetSplitRoutineNames
|
||||
);
|
||||
|
||||
=head2 GetSplitRoutineNames
|
||||
|
||||
my @routines = GetSplitRoutineNames();
|
||||
|
|
|
|||
Loading…
Reference in New Issue