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:
parent
92db9ff105
commit
32f484a349
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user