Author Topic: deleting a user  (Read 2620 times)

Offline boxyball

  • Full Member
  • ***
  • Posts: 92
deleting a user
« on: March 17, 2016, 05:55:42 PM »
When I need to delete a user, I delete their entry from the users table and flag any associated identities for deletion.
Do I need to do anything with contacts, contactgroups, or any other table?
Or perhaps cleandb.sh will take care of it later?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: deleting a user
« Reply #1 on: March 18, 2016, 03:28:54 AM »
If you delete a user in the database from the users table everything that goes with that user should be removed automatically. You can also use deluser.sh instead of deleting users in the db.