|
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 33-39
my $auth_limit;
Link Here
|
| 33 |
my $bib_limit; |
47 |
my $bib_limit; |
| 34 |
my $commit = 100; |
48 |
my $commit = 100; |
| 35 |
my $tagtolink; |
49 |
my $tagtolink; |
| 36 |
my $allowrelink = C4::Context->preference("CatalogModuleRelink") || ''; |
50 |
my $allowrelink = C4::Context->preference("LinkerRelink") // ''; |
| 37 |
|
51 |
|
| 38 |
my $result = GetOptions( |
52 |
my $result = GetOptions( |
| 39 |
'v|verbose' => \$verbose, |
53 |
'v|verbose' => \$verbose, |
| 40 |
- |
|
|