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