Lines 1-7
Link Here
|
1 |
#!/usr/bin/perl |
1 |
#!/usr/bin/perl |
2 |
|
2 |
|
3 |
use strict; |
3 |
# This file is part of Koha. |
4 |
use warnings; |
4 |
# |
|
|
5 |
# Koha is free software; you can redistribute it and/or modify it |
6 |
# under the terms of the GNU General Public License as published by |
7 |
# the Free Software Foundation; either version 3 of the License, or |
8 |
# (at your option) any later version. |
9 |
# |
10 |
# Koha is distributed in the hope that it will be useful, but |
11 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 |
# GNU General Public License for more details. |
14 |
# |
15 |
# You should have received a copy of the GNU General Public License |
16 |
# along with Koha; if not, see <http://www.gnu.org/licenses>. |
17 |
|
18 |
use Modern::Perl; |
5 |
|
19 |
|
6 |
use Koha::Script; |
20 |
use Koha::Script; |
7 |
use C4::Context; |
21 |
use C4::Context; |
Lines 37-43
my $auth_limit;
Link Here
|
37 |
my $bib_limit; |
51 |
my $bib_limit; |
38 |
my $commit = 100; |
52 |
my $commit = 100; |
39 |
my $tagtolink; |
53 |
my $tagtolink; |
40 |
my $allowrelink = C4::Context->preference("CatalogModuleRelink") || ''; |
54 |
my $allowrelink = C4::Context->preference("LinkerRelink") // ''; |
41 |
|
55 |
|
42 |
my $result = GetOptions( |
56 |
my $result = GetOptions( |
43 |
'v|verbose' => \$verbose, |
57 |
'v|verbose' => \$verbose, |
44 |
- |
|
|