From dbb9d056029e32c860c9484f8db990bf0aa4fce0 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 12 May 2022 07:05:50 +0000 Subject: [PATCH] Bug 30731: Remove Readonly::XS::MAGIC_COOKIE This variable does not make sense anymore, since the Readonly::XS module is not listed in the cpanfile. So it will not be required the versions_info loop. Test plan: Run t/Installer_PerlModules.t again. Signed-off-by: Marcel de Rooy Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 900aa4bf51b131c9f362cb647edf1bb0de2fbcc0) Signed-off-by: Lucas Gass --- C4/Installer/PerlModules.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/C4/Installer/PerlModules.pm b/C4/Installer/PerlModules.pm index a66dc03899..5d4a84ecda 100644 --- a/C4/Installer/PerlModules.pm +++ b/C4/Installer/PerlModules.pm @@ -72,8 +72,6 @@ sub versions_info { } my $attr; - - $Readonly::XS::MAGIC_COOKIE="Do NOT use or require Readonly::XS unless you're me."; { # ignore warnings from noisy modules local $SIG{__WARN__} = sub {}; -- 2.39.5