Deleting Classes in Production

Inquiry about the suggested process for deleting/removing classes in a production environment.

Hi @NigelL28: Please check this. Please be cautious on the instances and references.

Thanks.

Hi @NigelL28,

It is not at all advisable to delete any classes in production environment directly.

Assuming that your apps classes which you want to delete might be redundant and not holding any instances.

  1. Make sure to take the DB Backup of the table associated to the class.
  2. Make sure there are no active running references of the class.
  3. Make use of the refractor wizard for the clean deletion. (Configure → System → Refractor → Classes → Delete a class)