mirror of
https://github.com/processone/ejabberd
synced 2025-10-06 03:50:15 +02:00
Improve some type specs
This commit is contained in:
parent
4ff8d7918a
commit
522a186a38
47 changed files with 437 additions and 261 deletions
|
@ -117,6 +117,7 @@ get_data(LUser, LServer) ->
|
|||
Mod = gen_mod:db_mod(LServer, ?MODULE),
|
||||
Mod:get_all_data(LUser, LServer).
|
||||
|
||||
-spec remove_user(binary(), binary()) -> any().
|
||||
remove_user(User, Server) ->
|
||||
LUser = jid:nodeprep(User),
|
||||
LServer = jid:nameprep(Server),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue