# HG changeset patch # User Kim Alvefur # Date 1507216962 -7200 # Node ID 2fc8b83dd7369a27d156587b47699d8229e3cf92 # Parent fba1ea67f5c0820511c1ebde6c997d8f5aeffc7b mod_storage_sql: Remove return values from purge method diff -r fba1ea67f5c0 -r 2fc8b83dd736 plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Thu Oct 05 12:48:36 2017 +0200 +++ b/plugins/mod_storage_sql.lua Thu Oct 05 17:22:42 2017 +0200 @@ -415,8 +415,7 @@ 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