civicrm/civicrm-core — pull request #1994 by totten (2013-11-15 08:15:15+00:00)
Title: CRM-13768 - enable_component - Use same logic when toggling components via API/web

1. Add support for using callbacks whenever a setting is changed
2. Move CiviCase activation logic out of the form layer (to somewhere more re-usable)
3. Call CiviCase activation logic whenever one changes the "enabled components" setting