Commit f1d7ce63 authored by sikeda's avatar sikeda
Browse files

[-change] Removing send_notify_to_listmaster() calls during loading site or...

[-change] Removing send_notify_to_listmaster() calls during loading site or robot config.  Because, when they were called, starting or reloading daemon(s) can fail.


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@12410 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent f6a2fe0e
......@@ -825,8 +825,6 @@ sub checkfiles {
if (defined $Conf{'cafile'} && $Conf{'cafile'}) {
unless (-f $Conf{'cafile'} && -r $Conf{'cafile'}) {
$log->syslog('err', 'Cannot access cafile %s', $Conf{'cafile'});
Sympa::send_notify_to_listmaster('*', 'cannot_access_cafile',
[$Conf{'cafile'}]);
$config_err++;
}
}
......@@ -834,8 +832,6 @@ sub checkfiles {
if (defined $Conf{'capath'} && $Conf{'capath'}) {
unless (-d $Conf{'capath'} && -x $Conf{'capath'}) {
$log->syslog('err', 'Cannot access capath %s', $Conf{'capath'});
Sympa::send_notify_to_listmaster('*', 'cannot_access_capath',
[$Conf{'capath'}]);
$config_err++;
}
}
......@@ -2205,12 +2201,6 @@ sub _load_single_robot_config {
$config_file);
unless (-r $config_file) {
$log->syslog('err', 'No read access on %s', $config_file);
Sympa::send_notify_to_listmaster(
'*',
'cannot_access_robot_conf',
[ "No read access on $config_file. you should change privileges on this file to activate this virtual host. "
]
);
return undef;
}
unless (
......
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