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
1 changed files with 1 additions and 1 deletions

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);