Skip to content

Commit

Permalink
Issue sympa-community#11 try 2: Don't use memory cache when admin is …
Browse files Browse the repository at this point in the history
…updated by sync_include_admin().
  • Loading branch information
ikedas committed Feb 1, 2018
1 parent 3e5d08b commit f77c952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Sympa/List.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6966,7 +6966,7 @@ sub sync_include_admin {
foreach my $role ('owner', 'editor') {
## Load a hash with the old admin users
my $old_admin_users =
{map { ($_->{'email'} => $_) } $self->get_admins($role)};
{map { ($_->{'email'} => $_) } $self->get_admins($role, no_cache => 1)};

## Load a hash with the new admin user list from an include source(s)
my $new_admin_users_include;
Expand Down

0 comments on commit f77c952

Please sign in to comment.