24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-14 22:00:16 +02:00

* src/mod_roster_odbc.erl: fix MySQL multiple requests issue.

SVN Revision: 1612
This commit is contained in:
Jérôme Sautret 2008-10-07 12:32:12 +00:00
parent 10ab4e6782
commit b65caa82fb
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2008-10-07 Jerome Sautret <jerome.sautret@process-one.net>
* src/mod_roster_odbc.erl: fix MySQL multiple requests issue.
2008-10-06 Badlop <badlop@process-one.net>
* doc/guide.html: Regenerated

View File

@ -642,7 +642,7 @@ set_items(User, Server, SubEl) ->
LServer = jlib:nameprep(Server),
catch odbc_queries:sql_transaction(
LServer,
lists:map(fun(El) ->
lists:flatmap(fun(El) ->
process_item_set_t(LUser, LServer, El)
end, Els)).
@ -1041,4 +1041,3 @@ us_to_list({User, Server}) ->
webadmin_user(Acc, _User, _Server, Lang) ->
Acc ++ [?XE("h3", [?ACT("roster/", "Roster")])].