ticket20077 313 B

12345
  1. o Code simplification and refactoring:
  2. - Remove redundant behavior of is_sensitive_dir_purpose, refactor to use
  3. only purpose_needs_anonymity. Closes part of ticket 20077.
  4. - Refactor large if statement in purpose_needs_anonymity to use switch
  5. statement instead. Closes part of ticket 20077.