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, "';"]]).