From 2b784b0f11c9c5084d275afe62bb1b455756f2be Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 13 Apr 2020 07:18:53 -0400 Subject: [PATCH] Bug 20101: Follow-up - No need to clear syspref cache --- misc/cronjobs/automatic_item_modification_by_age.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/cronjobs/automatic_item_modification_by_age.pl b/misc/cronjobs/automatic_item_modification_by_age.pl index 33ee8210a7..b7ae21d756 100755 --- a/misc/cronjobs/automatic_item_modification_by_age.pl +++ b/misc/cronjobs/automatic_item_modification_by_age.pl @@ -23,7 +23,6 @@ pod2usage(1) if $help; $verbose = 1 unless $confirm; # Load configuration from the syspref -C4::Context::clear_syspref_cache; my $syspref_content = C4::Context->preference('automatic_item_modification_by_age_configuration') // q{}; pod2usage({ -message => 'Set up automatic item modifications by age rules in tools first!', -exitval => 1 }) if $syspref_content !~ /\S/xsm; -- 2.24.1 (Apple Git-126)