From 40ca6d30b69498591df9af6f2069d6881f932124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Sun, 3 Oct 2021 11:55:52 +0000 Subject: [PATCH] Bug 24698: (QA follow-up) Remove dead code These were left off from the copy&paste taken from unimarc_field_100_authorities.pl --- cataloguing/value_builder/unimarc_leader_authorities.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cataloguing/value_builder/unimarc_leader_authorities.pl b/cataloguing/value_builder/unimarc_leader_authorities.pl index 5c7cb4eea3..602b06e412 100644 --- a/cataloguing/value_builder/unimarc_leader_authorities.pl +++ b/cataloguing/value_builder/unimarc_leader_authorities.pl @@ -52,11 +52,6 @@ sub plugin { my $index = $input->param('index'); my $result = $input->param('result'); - my $dbh = C4::Context->dbh; - - #my $defaultlanguage = C4::Context->preference("UNIMARCField100Language"); - # $defaultlanguage = "fre" if (!$defaultlanguage || length($defaultlanguage) != 3); - my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "cataloguing/value_builder/unimarc_leader_authorities.tt", -- 2.20.1