* src/ejabberd_auth_odbc.erl: Fixed wrong call preventing user removal with relational databases.

SVN Revision: 828
This commit is contained in:
Mickaël Rémond 2007-07-26 09:42:14 +00:00
parent 9081f1f2b6
commit b1a3c639cb
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2007-07-26 Mickael Remond <mickael.remond@process-one.net>
* src/ejabberd_auth_odbc.erl: Fixed wrong call preventing user
removal with relational databases.
* src/mod_last_odbc.erl: Adapted to mod_privacy changes.
* src/mod_privacy_odbc.erl: Refactoring to extract records in
include file.

View File

@ -210,6 +210,6 @@ remove_user(User, Server, Password) ->
not_allowed
end
end,
{atomic, Result} = odbc_queries:transaction(LServer, F),
{atomic, Result} = odbc_queries:sql_transaction(LServer, F),
Result
end.