Commit 8ec336be authored by sikeda's avatar sikeda
Browse files

[-bug] (r12690) Even if -addressmodifycode was disabled, cached $AddressModify...

[-bug] (r12690) Even if -addressmodifycode was disabled, cached $AddressModify in .mhonarc.db won't be cleared.  As a workaround, force clear it by overwriting.


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@12691 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent f42ead60
......@@ -495,7 +495,7 @@ sub html_store {
Conf::get_robot_conf($list->{'domain'}, 'mhonarc'),
'-add',
#XXX'-modifybodyaddresses',
#XXX'-addressmodifycode' => $ENV{'M2H_ADDRESSMODIFYCODE'},
'-addressmodifycode' => '1', # w/a: Clear old cache in .mhonarc.db.
'-rcfile' => $mhonarc_ressources,
'-outdir' => $self->{arc_directory},
'-definevars' => sprintf(
......@@ -662,7 +662,7 @@ sub html_rebuild {
my @cmd = (
Conf::get_robot_conf($robot_id, 'mhonarc'),
#XXX'-modifybodyaddresses',
#XXX'-addressmodifycode' => $ENV{'M2H_ADDRESSMODIFYCODE'},
'-addressmodifycode' => '1', # w/a: Clear old cache in .mhonarc.db.
'-rcfile' => $mhonarc_ressources,
'-outdir' => $arc_directory,
'-definevars' => sprintf(
......
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