mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Delete duplicated command export_sql, use export2sql instead (#1118)
This commit is contained in:
parent
ff199a323d
commit
ba2680df61
@ -192,10 +192,6 @@ get_commands_spec() ->
|
|||||||
module = ejabberd_piefxis, function = export_host,
|
module = ejabberd_piefxis, function = export_host,
|
||||||
args = [{dir, string}, {host, string}], result = {res, rescode}},
|
args = [{dir, string}, {host, string}], result = {res, rescode}},
|
||||||
|
|
||||||
#ejabberd_commands{name = export_sql, tags = [mnesia, sql],
|
|
||||||
desc = "Export all tables as SQL queries to a file",
|
|
||||||
module = ejd2sql, function = export,
|
|
||||||
args = [{host, string}, {file, string}], result = {res, rescode}},
|
|
||||||
#ejabberd_commands{name = delete_mnesia, tags = [mnesia, sql],
|
#ejabberd_commands{name = delete_mnesia, tags = [mnesia, sql],
|
||||||
desc = "Export all tables as SQL queries to a file",
|
desc = "Export all tables as SQL queries to a file",
|
||||||
module = ejd2sql, function = delete,
|
module = ejd2sql, function = delete,
|
||||||
@ -228,7 +224,7 @@ get_commands_spec() ->
|
|||||||
#ejabberd_commands{name = export2sql, tags = [mnesia],
|
#ejabberd_commands{name = export2sql, tags = [mnesia],
|
||||||
desc = "Export virtual host information from Mnesia tables to SQL files",
|
desc = "Export virtual host information from Mnesia tables to SQL files",
|
||||||
module = ejd2sql, function = export,
|
module = ejd2sql, function = export,
|
||||||
args = [{host, string}, {directory, string}],
|
args = [{host, string}, {file, string}],
|
||||||
result = {res, rescode}},
|
result = {res, rescode}},
|
||||||
#ejabberd_commands{name = set_master, tags = [mnesia],
|
#ejabberd_commands{name = set_master, tags = [mnesia],
|
||||||
desc = "Set master node of the clustered Mnesia tables",
|
desc = "Set master node of the clustered Mnesia tables",
|
||||||
|
Loading…
Reference in New Issue
Block a user