From 5f41b6c6f17ed9df9d9137f59ec6f71f39dbfc16 Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Sun, 7 Oct 2007 10:52:45 +0000 Subject: [PATCH] * src/mod_vcard_odbc.erl: Reverted previous change SVN Revision: 957 --- ChangeLog | 4 ++++ src/mod_vcard_odbc.erl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 91592cb33..1540b37c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-10-07 Alexey Shchepin + + * src/mod_vcard_odbc.erl: Reverted previous change + 2007-10-06 Alexey Shchepin * src/mod_vcard_odbc.erl: Bugfix diff --git a/src/mod_vcard_odbc.erl b/src/mod_vcard_odbc.erl index f5e2ef370..278040ed0 100644 --- a/src/mod_vcard_odbc.erl +++ b/src/mod_vcard_odbc.erl @@ -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, "';"]]).