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_upload_quota.erl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mod_http_upload_quota.erl') diff --git a/src/mod_http_upload_quota.erl b/src/mod_http_upload_quota.erl index e08cd0b91..d2eca8b72 100644 --- a/src/mod_http_upload_quota.erl +++ b/src/mod_http_upload_quota.erl @@ -39,6 +39,7 @@ -export([start_link/3, start/2, stop/1, + depends/2, mod_opt_type/1]). %% gen_server callbacks. @@ -109,6 +110,11 @@ mod_opt_type(max_days) -> mod_opt_type(_) -> [access_soft_quota, access_hard_quota, max_days]. +-spec depends(binary(), gen_mod:opts()) -> [{module(), hard | soft}]. + +depends(_Host, _Opts) -> + []. + %%-------------------------------------------------------------------- %% gen_server callbacks. %%-------------------------------------------------------------------- -- cgit v1.2.3