Description
Deactivating a directory does not remove users from the license count
Steps to Reproduce
- Create a new directory and add it into a crowd Application
- Add some users
- Go to Administration > Licensing and click "Recalculate your user total"
- Deactivate the directory created in Step 1
- Recalculate the users again
Expected Results
Users in the deactivated directory should not be counted against license
Actual Results
Users in the deactivated directory are still counted against license
Workaround
- Deactivate the users, or
- Remove the directory from all applications