Bug 24000: Some modules do not return 1
This patch adds "1;" to the end of the following perl files:
Koha/Filter/MARC/EmbedItemsAvailability.pm
Koha/Filter/MARC/EmbedSeeFromHeadings.pm
Koha/Filter/MARC/Null.pm
Koha/Item/Search/Field.pm
Koha/SearchEngine.pm
misc/translator/VerboseWarnings.pm
t/lib/Koha/Plugin/Test.pm
This indicates the succesful execution of the initialization code.
Test plan:
Ensure that there are no other perl files that need "1;", but dont have
it.
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 2b607d8414)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
b8f6074313
commit
10bf4cb038
|
|
@ -95,3 +95,5 @@ sub _processrecord {
|
|||
|
||||
return $record;
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -105,3 +105,5 @@ sub _processrecord {
|
|||
}
|
||||
return $record;
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -52,3 +52,5 @@ sub filter {
|
|||
|
||||
return $record;
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -44,3 +44,5 @@ indicate that you want to be working with the authorities index.
|
|||
# may be used for, e.g., directory names.
|
||||
Readonly our $BIBLIOS_INDEX => 'biblios';
|
||||
Readonly our $AUTHORITIES_INDEX => 'authorities';
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -123,4 +123,6 @@ sub warned {
|
|||
return $warned; # number of times warned
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
###############################################################################
|
||||
|
|
|
|||
|
|
@ -311,3 +311,5 @@ sub intranet_catalog_biblio_tab {
|
|||
sub _private_sub {
|
||||
return "";
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue