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

* src/mod_vcard_odbc.erl: Bugfix

SVN Revision: 956
This commit is contained in:
Alexey Shchepin 2007-10-06 17:52:12 +00:00
parent 5ab52e2712
commit a3380daa79
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2007-10-06 Alexey Shchepin <alexey@process-one.net>
* src/mod_vcard_odbc.erl: Bugfix
* src/mod_offline_odbc.erl: Bugfix
2007-10-01 Alexey Shchepin <alexey@process-one.net>

View File

@ -647,7 +647,7 @@ remove_user(User, Server) ->
Username = ejabberd_odbc:escape(LUser),
ejabberd_odbc:sql_transaction(
LServer,
[["delete from vcard where username='", Username, "';"],
[["delete from vcard where lusername='", Username, "';"],
["delete from vcard_search where lusername='", Username, "';"]]).