Update to clarify delete_old_users
Updated delete_old_users to clarify what delete_old_users does
This commit is contained in:
parent
bdac50591a
commit
deefd13ade
|
@ -169,12 +169,12 @@ commands() ->
|
||||||
args = [{host, binary}, {days, integer}],
|
args = [{host, binary}, {days, integer}],
|
||||||
result = {users, integer}},
|
result = {users, integer}},
|
||||||
#ejabberd_commands{name = delete_old_users, tags = [accounts, purge],
|
#ejabberd_commands{name = delete_old_users, tags = [accounts, purge],
|
||||||
desc = "Delete users that didn't log in last days, or that never logged",
|
desc = "Delete users that didn't log in for a number of days, or that never logged in",
|
||||||
module = ?MODULE, function = delete_old_users,
|
module = ?MODULE, function = delete_old_users,
|
||||||
args = [{days, integer}],
|
args = [{days, integer}],
|
||||||
result = {res, restuple}},
|
result = {res, restuple}},
|
||||||
#ejabberd_commands{name = delete_old_users_vhost, tags = [accounts, purge],
|
#ejabberd_commands{name = delete_old_users_vhost, tags = [accounts, purge],
|
||||||
desc = "Delete users that didn't log in last days in vhost, or that never logged",
|
desc = "Delete users that didn't log in for a number of days on a specific vhost, or that never logged in",
|
||||||
module = ?MODULE, function = delete_old_users_vhost,
|
module = ?MODULE, function = delete_old_users_vhost,
|
||||||
args = [{host, binary}, {days, integer}],
|
args = [{host, binary}, {days, integer}],
|
||||||
result = {res, restuple}},
|
result = {res, restuple}},
|
||||||
|
|
Loading…
Reference in New Issue