]> granicus.if.org Git - ejabberd/commitdiff
Don't worry about storage_type of the Acl mnesia table (#1206)
authorBadlop <badlop@process-one.net>
Mon, 19 Sep 2016 09:59:40 +0000 (11:59 +0200)
committerBadlop <badlop@process-one.net>
Mon, 19 Sep 2016 09:59:40 +0000 (11:59 +0200)
src/acl.erl

index 14439ce7a76b7e33a74ba7adbbcce8f90fde713e..349198182a779fd8296db52875cb50c328673fe5 100644 (file)
 -export_type([acl/0]).
 
 start() ->
-    case catch mnesia:table_info(acl, storage_type) of
-        disc_copies ->
-            mnesia:delete_table(acl);
-        _ ->
-            ok
-    end,
     mnesia:create_table(acl,
                        [{ram_copies, [node()]}, {type, bag},
                          {local_content, true},