mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Make ext_mod api return rescode
This commit is contained in:
parent
62ee051c6e
commit
a11e833a98
@ -84,7 +84,7 @@ get_commands_spec() ->
|
|||||||
longdesc = "",
|
longdesc = "",
|
||||||
module = ?MODULE, function = update,
|
module = ?MODULE, function = update,
|
||||||
args = [],
|
args = [],
|
||||||
result = {res, integer}},
|
result = {res, rescode}},
|
||||||
#ejabberd_commands{name = modules_available,
|
#ejabberd_commands{name = modules_available,
|
||||||
tags = [admin,modules],
|
tags = [admin,modules],
|
||||||
desc = "",
|
desc = "",
|
||||||
@ -111,28 +111,28 @@ get_commands_spec() ->
|
|||||||
longdesc = "",
|
longdesc = "",
|
||||||
module = ?MODULE, function = install,
|
module = ?MODULE, function = install,
|
||||||
args = [{module, binary}],
|
args = [{module, binary}],
|
||||||
result = {res, integer}},
|
result = {res, rescode}},
|
||||||
#ejabberd_commands{name = module_uninstall,
|
#ejabberd_commands{name = module_uninstall,
|
||||||
tags = [admin,modules],
|
tags = [admin,modules],
|
||||||
desc = "",
|
desc = "",
|
||||||
longdesc = "",
|
longdesc = "",
|
||||||
module = ?MODULE, function = uninstall,
|
module = ?MODULE, function = uninstall,
|
||||||
args = [{module, binary}],
|
args = [{module, binary}],
|
||||||
result = {res, integer}},
|
result = {res, rescode}},
|
||||||
#ejabberd_commands{name = module_upgrade,
|
#ejabberd_commands{name = module_upgrade,
|
||||||
tags = [admin,modules],
|
tags = [admin,modules],
|
||||||
desc = "",
|
desc = "",
|
||||||
longdesc = "",
|
longdesc = "",
|
||||||
module = ?MODULE, function = upgrade,
|
module = ?MODULE, function = upgrade,
|
||||||
args = [{module, binary}],
|
args = [{module, binary}],
|
||||||
result = {res, integer}},
|
result = {res, rescode}},
|
||||||
#ejabberd_commands{name = module_check,
|
#ejabberd_commands{name = module_check,
|
||||||
tags = [admin,modules],
|
tags = [admin,modules],
|
||||||
desc = "",
|
desc = "",
|
||||||
longdesc = "",
|
longdesc = "",
|
||||||
module = ?MODULE, function = check,
|
module = ?MODULE, function = check,
|
||||||
args = [{module, binary}],
|
args = [{module, binary}],
|
||||||
result = {res, integer}}
|
result = {res, rescode}}
|
||||||
].
|
].
|
||||||
%% -- public modules functions
|
%% -- public modules functions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user