25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Remove unnecessary text string

This commit is contained in:
Badlop 2022-10-12 11:41:14 +02:00
parent 7be52065dd
commit d29fdc4d2e

View File

@ -1018,10 +1018,9 @@ get_commit_link(CommitHtmlUrl, TitleEl, CommitSha) ->
?AXC(CommitHtmlUrl, [TitleEl], binary:part(CommitSha, {0, 8})).
get_content(Node, Query, Lang) ->
Instruct = translate:translate(Lang, ?T("Type a command in a textbox and click Execute.")),
{{_CommandCtl}, _Res} =
case catch parse_and_execute(Query, Node) of
{'EXIT', _} -> {{""}, Instruct};
{'EXIT', _} -> {{""}, <<"">>};
Result_tuple -> Result_tuple
end,