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>
This commit is contained in:
James O'Keeffe 2021-01-19 03:16:45 +00:00 committed by Jonathan Druart
parent 6016791fc0
commit 2b607d8414
6 changed files with 12 additions and 0 deletions

View File

@ -95,3 +95,5 @@ sub _processrecord {
return $record;
}
1;

View File

@ -105,3 +105,5 @@ sub _processrecord {
}
return $record;
}
1;

View File

@ -52,3 +52,5 @@ sub filter {
return $record;
}
1;

View File

@ -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;

View File

@ -123,4 +123,6 @@ sub warned {
return $warned; # number of times warned
}
1;
###############################################################################

View File

@ -311,3 +311,5 @@ sub intranet_catalog_biblio_tab {
sub _private_sub {
return "";
}
1;