From 92626f55c88661d1e5b8dea57bdca412df004123 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 22 Jul 2016 11:48:21 +0200 Subject: [PATCH] Bug 16971: Missing dependency for HTML::Entities This module is already used in opac-password-recovery.pl. It is loaded in Acquisition, but not used (anymore?). It is not yet listed in PerlDependencies. Note: The module is packaged for Debian Wheezy and Jessie. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher --- C4/Acquisition.pm | 1 - C4/Installer/PerlDependencies.pm | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 6894cb4133..45554da015 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -39,7 +39,6 @@ use MARC::Field; use MARC::Record; use Time::localtime; -use HTML::Entities; use vars qw(@ISA @EXPORT); diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index b5d6486828..6960cb5b90 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -817,6 +817,11 @@ our $PERL_DEPS = { 'required' => '1', 'min_ver' => '3.0', }, + 'HTML::Entities' => { + usage => 'Core', + required => 1, + min_ver => '3.69', # same for Wheezy/Jessie + }, }; 1; -- 2.39.5