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!
-
AnonymousInactive
Hi!
If I delete an user who has a positive balance, will the balance of him be subtracted from “Sum of users balance” in the currency adapters?
Thanks!
Hello,
Yes, it will. The sum of user balances is calculated by summing all transactions from all users.
with regards
AnonymousInactive
Hi Alex!
Yesterday I tried it but the “Sum of users balance” was not updated.I deleted a user who had 3000 dogecoins to do the test and that amount was not reduced from “Sum of users balance”.
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!
AnonymousInactive
In version 3.8.0
of Bitcoin and Altcoin Wallets, user transactions and addresses are now deleted if a user is deleted by an admin.
- You must be logged in to reply to this topic.