25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Comment unused type, unused term

This commit is contained in:
Quan Zhuo 2015-09-16 22:52:36 +08:00
parent 5593ebbbca
commit ae51277316
3 changed files with 4 additions and 4 deletions

View File

@ -281,7 +281,7 @@ is_fresh_enough(TimeStampLast, CacheTime) ->
get_last_access(User, Server) -> get_last_access(User, Server) ->
case ejabberd_sm:get_user_resources(User, Server) of case ejabberd_sm:get_user_resources(User, Server) of
[] -> [] ->
_US = {User, Server}, %% _US = {User, Server},
case get_last_info(User, Server) of case get_last_info(User, Server) of
mod_last_required -> mod_last_required; mod_last_required -> mod_last_required;
not_found -> never; not_found -> never;

View File

@ -44,9 +44,9 @@
-record(state, {host, module, function}). -record(state, {host, module, function}).
-type component() :: ejabberd_sm | ejabberd_local. %%-type component() :: ejabberd_sm | ejabberd_local.
-type type() :: no_queue | one_queue | pos_integer() | parallel. -type type() :: no_queue | one_queue | pos_integer() | parallel.
-type opts() :: no_queue | {one_queue, pid()} | {queues, [pid()]} | parallel. %%-type opts() :: no_queue | {one_queue, pid()} | {queues, [pid()]} | parallel.
%%==================================================================== %%====================================================================
%% API %% API

View File

@ -1912,7 +1912,7 @@ set_form(From, Host,
Server) Server)
of of
[] -> [] ->
_US = {User, Server}, %% _US = {User, Server},
case get_last_info(User, Server) of case get_last_info(User, Server) of
not_found -> ?T(Lang, <<"Never">>); not_found -> ?T(Lang, <<"Never">>);
{ok, Timestamp, _Status} -> {ok, Timestamp, _Status} ->