summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2009-10-19 10:41:44 +0000
committerBadlop <badlop@process-one.net>2009-10-19 10:41:44 +0000
commitda50ec62159cee5fc847356691422ff6313c5c38 (patch)
treedc6c5197571b65c9614ce1d9999c768cad8dcd3e /src
parentFix unnecessary call to xml:crypt/1 (thanks to Janusz Dziemidowicz)(EJAB-1064) (diff)
Start mnesia as a permanent application (thanks to Brian Cully)(EJAB-1068)
SVN Revision: 2673
Diffstat (limited to 'src')
-rw-r--r--src/ejabberd_app.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_app.erl b/src/ejabberd_app.erl
index 8c97394c..2e6d0425 100644
--- a/src/ejabberd_app.erl
+++ b/src/ejabberd_app.erl
@@ -122,7 +122,7 @@ db_init() ->
_ ->
ok
end,
- mnesia:start(),
+ application:start(mnesia, permanent),
mnesia:wait_for_tables(mnesia:system_info(local_tables), infinity).
%% Start all the modules in all the hosts