From 4220a2b98cf08fda4445074f89e5bec5c5c06736 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Wed, 6 Jul 2016 14:58:48 +0300 Subject: Make modules loading in a dependent order (#1191) --- src/mod_http_api.erl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mod_http_api.erl') diff --git a/src/mod_http_api.erl b/src/mod_http_api.erl index 595c121cd..815ed3ab6 100644 --- a/src/mod_http_api.erl +++ b/src/mod_http_api.erl @@ -74,7 +74,7 @@ -behaviour(gen_mod). --export([start/2, stop/1, process/2, mod_opt_type/1]). +-export([start/2, stop/1, process/2, mod_opt_type/1, depends/2]). -include("ejabberd.hrl"). -include("jlib.hrl"). @@ -123,6 +123,9 @@ start(_Host, _Opts) -> stop(_Host) -> ok. +depends(_Host, _Opts) -> + []. + %% ---------- %% basic auth %% ---------- -- cgit v1.2.3