mod_mam: Remove users in sync_transaction context
This commit is contained in:
parent
214339814f
commit
8208d5d172
|
@ -1245,5 +1245,5 @@ remove_user(LUser, LServer, mnesia) ->
|
||||||
ok
|
ok
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
{atomic, ok} = mnesia:transaction(Remove),
|
{atomic, ok} = mnesia:sync_transaction(Remove),
|
||||||
manage_mnesia_fragments(true).
|
manage_mnesia_fragments(true).
|
||||||
|
|
Loading…
Reference in New Issue