Skip to content

Commit

Permalink
Fix xref
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Jul 26, 2021
1 parent dab65a5 commit a04752a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
10 changes: 0 additions & 10 deletions src/mod_private.erl
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,8 @@

-export([config_metrics/1]).

-define(MOD_PRIVACY_BACKEND, mod_privacy_backend).
-define(MOD_PRIVATE_BACKEND, mod_private_backend).
-ignore_xref([
{?MOD_PRIVACY_BACKEND, get_default_list, 2},
{?MOD_PRIVACY_BACKEND, get_privacy_list, 3},
{?MOD_PRIVACY_BACKEND, forget_default_list, 2},
{?MOD_PRIVACY_BACKEND, set_default_list, 3},
{?MOD_PRIVACY_BACKEND, get_list_names, 2},
{?MOD_PRIVACY_BACKEND, remove_privacy_list, 3},
{?MOD_PRIVACY_BACKEND, remove_user, 2},
{?MOD_PRIVACY_BACKEND, replace_privacy_list, 4},
{?MOD_PRIVACY_BACKEND, init, 2},
{?MOD_PRIVATE_BACKEND, get_all_nss, 2},
{?MOD_PRIVATE_BACKEND, multi_get_data, 3},
{?MOD_PRIVATE_BACKEND, multi_set_data, 3},
Expand Down
17 changes: 14 additions & 3 deletions src/privacy/mod_privacy.erl
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,20 @@

-export([config_metrics/1]).

-ignore_xref([behaviour_info/1, check_packet/5, get_user_list/3, process_iq_get/5,
process_iq_set/4, remove_user/3, updated_list/3, behaviour_info/1,
remove_user/3, remove_domain/3, disco_local_features/1]).
-ignore_xref([
{mod_privacy_backend, init, 2},
{mod_privacy_backend, get_default_list, 3},
{mod_privacy_backend, get_list_names, 3},
{mod_privacy_backend, get_privacy_list, 4},
{mod_privacy_backend, set_default_list, 4},
{mod_privacy_backend, forget_default_list, 3},
{mod_privacy_backend, remove_privacy_list, 4},
{mod_privacy_backend, replace_privacy_list, 5},
{mod_privacy_backend, remove_user, 3},
{mod_privacy_backend, remove_domain, 2},
behaviour_info/1, check_packet/5, get_user_list/3, process_iq_get/5,
process_iq_set/4, remove_user/3, updated_list/3,
remove_user/3, remove_domain/3, disco_local_features/1]).

-include("mongoose.hrl").
-include("jlib.hrl").
Expand Down

0 comments on commit a04752a

Please sign in to comment.