summaryrefslogtreecommitdiff
path: root/src/shaper.erl
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2016-11-30 11:09:17 +0100
committerChristophe Romain <christophe.romain@process-one.net>2016-11-30 11:09:17 +0100
commit92db9ff10546e4a033621fbfd7d66d2aa3bf55e8 (patch)
tree1f80319bd731156151baa942d471edf02a69008f /src/shaper.erl
parentCleanup admin_extra, add few functions (diff)
Improve handling of mnesia schema
Diffstat (limited to '')
-rw-r--r--src/shaper.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shaper.erl b/src/shaper.erl
index eb82b8fa..19c9a049 100644
--- a/src/shaper.erl
+++ b/src/shaper.erl
@@ -50,7 +50,7 @@
-spec start() -> ok.
start() ->
- mnesia:create_table(shaper,
+ ejabberd_mnesia:create(?MODULE, shaper,
[{ram_copies, [node()]},
{local_content, true},
{attributes, record_info(fields, shaper)}]),