diff --git a/misc/link_bibs_to_authorities.pl b/misc/link_bibs_to_authorities.pl index 78b0dd2687..0315518168 100755 --- a/misc/link_bibs_to_authorities.pl +++ b/misc/link_bibs_to_authorities.pl @@ -1,7 +1,21 @@ #!/usr/bin/perl -use strict; -use warnings; +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +use Modern::Perl; use Koha::Script; use C4::Context; @@ -37,7 +51,7 @@ my $auth_limit; my $bib_limit; my $commit = 100; my $tagtolink; -my $allowrelink = C4::Context->preference("CatalogModuleRelink") || ''; +my $allowrelink = C4::Context->preference("LinkerRelink") // ''; my $result = GetOptions( 'v|verbose' => \$verbose,