mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
mod_pubsub: Remove unused check_opt_range/3 clause
This commit is contained in:
parent
65a900668c
commit
13cbd7c35d
@ -3568,9 +3568,7 @@ decode_get_pending(#xdata{fields = Fs}, Lang) ->
|
||||
end.
|
||||
|
||||
-spec check_opt_range(atom(), [proplists:property()],
|
||||
non_neg_integer() | unlimited | undefined) -> boolean().
|
||||
check_opt_range(_Opt, _Opts, undefined) ->
|
||||
true;
|
||||
non_neg_integer() | unlimited) -> boolean().
|
||||
check_opt_range(_Opt, _Opts, unlimited) ->
|
||||
true;
|
||||
check_opt_range(Opt, Opts, Max) ->
|
||||
|
Loading…
Reference in New Issue
Block a user