Skip to content

Commit

Permalink
Fix xref
Browse files Browse the repository at this point in the history
  • Loading branch information
gustawlippa committed Oct 13, 2021
1 parent 7923887 commit 76d351a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
eldap_filter_yecc, 'XmppAddr', mongoose_xmpp_errors,
%% *_backend
mongoose_rdbms_backend, mod_vcard_backend,
ejabberd_sm_backend, mod_auth_token_backend,
ejabberd_sm_backend,
mod_bosh_backend, mod_event_pusher_push_backend,
mod_global_distrib_mapping_backend, mod_http_upload_backend,
mod_inbox_backend, mod_keystore_backend,
Expand Down
5 changes: 0 additions & 5 deletions src/gen_mod.erl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
start_module/3,
start_backend_module/2,
start_backend_module/3,
get_backend_module/2,
get_backend_module/3,
stop_module/2,
stop_module_keep_config/2,
Expand Down Expand Up @@ -226,10 +225,6 @@ start_backend_module(Module, Opts, TrackedFuncs) ->
Backend = gen_mod:get_opt(backend, Opts, mnesia),
backend_module:create(Module, Backend, TrackedFuncs).

-spec get_backend_module(host_type(), module()) -> module().
get_backend_module(HostType, Module) ->
get_backend_module(HostType, Module, mnesia).

-spec get_backend_module(host_type(), module(), atom()) -> module().
get_backend_module(HostType, Module, DefaultBackend) ->
Backend = get_module_opt(HostType, Module, backend, DefaultBackend),
Expand Down
5 changes: 0 additions & 5 deletions src/mod_auth_token.erl
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@
token/0,
token_type/0]).

-define(MOD_AUTH_TOKEN_BACKEND, mod_auth_token_backend).
-ignore_xref([
{?MOD_AUTH_TOKEN_BACKEND, start, 1},
{?MOD_AUTH_TOKEN_BACKEND, revoke, 2},
{?MOD_AUTH_TOKEN_BACKEND, get_valid_sequence_number, 2},
{?MOD_AUTH_TOKEN_BACKEND, clean_tokens, 2},
behaviour_info/1, clean_tokens/3, datetime_to_seconds/1, deserialize/1,
disco_local_features/1, expiry_datetime/3, get_key_for_host_type/2, process_iq/5,
revoke/2, revoke_token_command/1, seconds_to_datetime/1, serialize/1, token/3,
Expand Down

0 comments on commit 76d351a

Please sign in to comment.