diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-07-06 14:58:48 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-07-06 14:58:48 +0300 |
commit | 4220a2b98cf08fda4445074f89e5bec5c5c06736 (patch) | |
tree | 1c97336460c5edf77c1beffe7f2cba0e35dd8498 /src/mod_http_upload_quota.erl | |
parent | de9f80f2cea4fe3fe3fd29155f9f78b8a8c678bd (diff) |
Make modules loading in a dependent order (#1191)
Diffstat (limited to 'src/mod_http_upload_quota.erl')
-rw-r--r-- | src/mod_http_upload_quota.erl | 6 |
1 files changed, 6 insertions, 0 deletions
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. %%-------------------------------------------------------------------- |