From 7495a212cbd3838761bc273eef9bb0ffbc12461f Mon Sep 17 00:00:00 2001 From: IKEDA Soji Date: Fri, 4 May 2018 11:23:44 +0900 Subject: [PATCH] As sympa.conf/robot.conf won't be reloaded by current version, binary cache for these files are useless. Fixed by not checking updates on these files. --- src/lib/Conf.pm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/lib/Conf.pm b/src/lib/Conf.pm index 109d5d855..9a9fd0b2f 100644 --- a/src/lib/Conf.pm +++ b/src/lib/Conf.pm @@ -2426,17 +2426,7 @@ sub _save_config_hash_to_binary { } } -sub _source_has_not_changed { - my $file = shift; - - my $file_bin = $file . $binary_file_extension; - return 1 - if -r $file - and -r $file_bin - and Sympa::Tools::File::get_mtime($file) < - Sympa::Tools::File::get_mtime($file_bin); - return 0; -} +sub _source_has_not_changed {0} sub _store_source_file_name { my $param = shift;