25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

* src/mod_vcard_odbc.erl: Reverted previous change

SVN Revision: 957
This commit is contained in:
Alexey Shchepin 2007-10-07 10:52:45 +00:00
parent a3380daa79
commit 5f41b6c6f1
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-10-07 Alexey Shchepin <alexey@process-one.net>
* src/mod_vcard_odbc.erl: Reverted previous change
2007-10-06 Alexey Shchepin <alexey@process-one.net>
* src/mod_vcard_odbc.erl: Bugfix

View File

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