mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 10:39:29 +02:00
Use new configuration validator
This commit is contained in:
parent
d48c067681
commit
a02cff0e78
265 changed files with 12412 additions and 9918 deletions
|
@ -33,7 +33,6 @@
|
|||
-behaviour(gen_pubsub_node).
|
||||
-author('christophe.romain@process-one.net').
|
||||
|
||||
-compile([{parse_transform, ejabberd_sql_pt}]).
|
||||
|
||||
-include("pubsub.hrl").
|
||||
-include("xmpp.hrl").
|
||||
|
@ -767,7 +766,7 @@ get_item(Nidx, ItemId) ->
|
|||
{selected, []} ->
|
||||
{error, xmpp:err_item_not_found()};
|
||||
{'EXIT', _} ->
|
||||
{error, xmpp:err_internal_server_error(<<"Database failure">>, ejabberd_config:get_mylang())}
|
||||
{error, xmpp:err_internal_server_error(<<"Database failure">>, ejabberd_option:language())}
|
||||
end.
|
||||
|
||||
get_item(Nidx, ItemId, JID, AccessModel, PresenceSubscription, RosterGroup, _SubId) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue