]> granicus.if.org Git - ejabberd/commitdiff
Fix typo introduced by 92db9ff changes
authorChristophe Romain <christophe.romain@process-one.net>
Wed, 30 Nov 2016 12:50:46 +0000 (13:50 +0100)
committerChristophe Romain <christophe.romain@process-one.net>
Wed, 30 Nov 2016 12:50:46 +0000 (13:50 +0100)
src/ejabberd_mnesia.erl

index f244d518fcc67d7cc07c709000086151fa73264f..0e067ad659b6c62c0d6d9092406f7112994918bf 100644 (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);