mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
* src/odbc/odbc_queries.erl (del_user_return_password): Return
password (thanks to Oleg Palij) SVN Revision: 1343
This commit is contained in:
parent
5e9576ffa3
commit
110a4b4518
@ -1,3 +1,8 @@
|
||||
2008-05-31 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/odbc/odbc_queries.erl (del_user_return_password): Return
|
||||
password (thanks to Oleg Palij)
|
||||
|
||||
2008-05-22 Mickael Remond <mremond@process-one.net>
|
||||
|
||||
* src/ejabberd_s2s.erl: Added s2s_send_packet and s2s_receive_packet
|
||||
|
@ -129,12 +129,13 @@ del_user(LServer, Username) ->
|
||||
["delete from users where username='", Username ,"';"]).
|
||||
|
||||
del_user_return_password(_LServer, Username, Pass) ->
|
||||
ejabberd_odbc:sql_query_t(
|
||||
P = ejabberd_odbc:sql_query_t(
|
||||
["select password from users where username='",
|
||||
Username, "';"]),
|
||||
ejabberd_odbc:sql_query_t(["delete from users "
|
||||
"where username='", Username,
|
||||
"' and password='", Pass, "';"]).
|
||||
"' and password='", Pass, "';"]),
|
||||
P.
|
||||
|
||||
list_users(LServer) ->
|
||||
ejabberd_odbc:sql_query(
|
||||
|
Loading…
Reference in New Issue
Block a user