Commit 614b544c authored by sympa-authors's avatar sympa-authors
Browse files

[bug] Rebuild soap url to robot hash even if configuration is loaded from...

[bug] Rebuild soap url to robot hash even if configuration is loaded from binary file as it is not stored elsewhere

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@8865 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent cde2325d
......@@ -1704,6 +1704,11 @@ sub load_robot_conf {
! $force_reload and ! $return_result and
$cached = _load_binary_cache({ 'config_file' => $config_file })) {
%$conf = %$cached;
if ($conf->{'soap_url'}) {
my $url = $conf->{'soap_url'};
$url =~ s/^http(s)?:\/\/(.+)$/$2/;
$Conf{'robot_by_soap_url'}{$url} = $conf->{'robot_name'};
}
&Log::do_log('debug3', 'got %s from serialized data',
($robot ne '*') ? "config for robot $robot" : 'main conf');
} elsif (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment