I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Reply To: Delete an user with a positive balance

dashed-slug.net Forums General discussion Delete an user with a positive balance Reply To: Delete an user with a positive balance

#4896
alexg
Keymaster

OK, after investigating:

  • If you use “Tools” -> “Erase personal data”, then the user’s transactions will also be deleted.
  • If you go to “Users” -> “Delete”, then the user’s transactions will not be deleted.

If you still have the user’s ID, you can delete the transactions manually (after you do a DB backup) with the following SQL:

DELETE FROM wp_wallets_txs WHERE account = ?

where ? is the user’s numeric ID.

I will change the code in the next patch so that transactions will also be deleted if you use “Users” -> “Delete”.

Thank you!