25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Don't worry about storage_type of the Acl mnesia table (#1206)

This commit is contained in:
Badlop 2016-09-19 11:59:40 +02:00
parent da291d804c
commit ed62d705d8

View File

@ -75,12 +75,6 @@
-export_type([acl/0]). -export_type([acl/0]).
start() -> start() ->
case catch mnesia:table_info(acl, storage_type) of
disc_copies ->
mnesia:delete_table(acl);
_ ->
ok
end,
mnesia:create_table(acl, mnesia:create_table(acl,
[{ram_copies, [node()]}, {type, bag}, [{ram_copies, [node()]}, {type, bag},
{local_content, true}, {local_content, true},