diff options
author | Kim Alvefur <zash@zash.se> | 2017-10-05 18:06:04 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-10-05 18:06:04 +0200 |
commit | 5c1f8cfc4bb5558cff767fbc4b81a10903c91543 (patch) | |
tree | 691fe346b53e4d17c388e45cd54dd15bf8f6bb06 /plugins | |
parent | 2b7c24b6417aa509fb4f8360d503a24ad6cf5b46 (diff) | |
parent | ce996cdb1cdc4c5331332df525b9d181c8fc0c4e (diff) | |
download | prosody-5c1f8cfc4bb5558cff767fbc4b81a10903c91543.tar.gz prosody-5c1f8cfc4bb5558cff767fbc4b81a10903c91543.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_storage_sql.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index e53deef3..4c65b4f4 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -415,8 +415,8 @@ end function driver:purge(username) return engine:transaction(function() - local stmt,err = engine:delete("DELETE FROM \"prosody\" WHERE \"host\"=? AND \"user\"=?", host, username); - return true, err; + engine:delete("DELETE FROM \"prosody\" WHERE \"host\"=? AND \"user\"=?", host, username); + engine:delete("DELETE FROM \"prosodyarchive\" WHERE \"host\"=? AND \"user\"=?", host, username); end); end |