diff options
author | Kim Alvefur <zash@zash.se> | 2017-10-05 17:22:42 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-10-05 17:22:42 +0200 |
commit | 50611461f2fd9ca769502ac6bcc1e0baaef0e789 (patch) | |
tree | 5a01b1cb3860551f51fa70d12b0fb507c8fae689 | |
parent | 8956f32a9c6fff30b6f604dba0a1ea0330712be1 (diff) | |
download | prosody-50611461f2fd9ca769502ac6bcc1e0baaef0e789.tar.gz prosody-50611461f2fd9ca769502ac6bcc1e0baaef0e789.zip |
mod_storage_sql: Remove return values from purge method
-rw-r--r-- | plugins/mod_storage_sql.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index d4a5f871..edbfd5e4 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -415,8 +415,7 @@ 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); end); end |