]> granicus.if.org Git - ejabberd/commitdiff
* src/mod_roster_odbc.erl: Fixed wrong call.
authorMickaël Rémond <mickael.remond@process-one.net>
Thu, 26 Jul 2007 08:30:25 +0000 (08:30 +0000)
committerMickaël Rémond <mickael.remond@process-one.net>
Thu, 26 Jul 2007 08:30:25 +0000 (08:30 +0000)
SVN Revision: 824

ChangeLog
src/mod_roster_odbc.erl

index 0ae2ea0894172b9dfe43f54983634af730c69f9a..93021dc4eff58dfbcd579aea05fe36a793111efe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-26  Mickael Remond  <mickael.remond@process-one.net>
+
+       * src/mod_roster_odbc.erl: Fixed wrong call.
+                                        
 2007-07-24  Mickael Remond  <mickael.remond@process-one.net>
 
        * doc/guide.tex: Added recommandations on max_stanza options
index b9ffc9661eb04a75dd0a4d16309b68ca03db6a25..7b0c358d431acf7b3c71b95e2ff8ead19a40602e 100644 (file)
@@ -621,7 +621,7 @@ set_items(User, Server, SubEl) ->
     {xmlelement, _Name, _Attrs, Els} = SubEl,
     LUser = jlib:nodeprep(User),
     LServer = jlib:nameprep(Server),
-    catch odbc_queries:transaction(
+    catch odbc_queries:sql_transaction(
            LServer,
             lists:map(fun(El) ->
                               process_item_set_t(LUser, LServer, El)