25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +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), {attributes, Attrs} = lists:keyfind(attributes, 1, Schema),
case catch mnesia:table_info(Name, attributes) of case catch mnesia:table_info(Name, attributes) of
{'EXIT', _} -> {'EXIT', _} ->
ejabberd_mnesia:create(?MODULE, Name, Schema); mnesia:create_table(Name, Schema);
Attrs -> Attrs ->
case need_reset(TabDef, Schema) of case need_reset(TabDef, Schema) of
true -> reset(Name, Schema); true -> reset(Name, Schema);