25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Fix typo introduced by 92db9ff changes

This commit is contained in:
Christophe Romain 2016-11-30 13:50:46 +01:00
parent 92db9ff105
commit 32f484a349

View File

@ -40,7 +40,7 @@ create(Module, Name, TabDef) ->
{attributes, Attrs} = lists:keyfind(attributes, 1, Schema),
case catch mnesia:table_info(Name, attributes) of
{'EXIT', _} ->
ejabberd_mnesia:create(?MODULE, Name, Schema);
mnesia:create_table(Name, Schema);
Attrs ->
case need_reset(TabDef, Schema) of
true -> reset(Name, Schema);