civicrm/civicrm-core — pull request #915 by pratik-joshi (2013-05-30 12:46:31+00:00)
Title: CRM-12726 : applied patch and did some modifications

the patch worked great.

Had to do a modification : removed the enable component check condition because if the case has 2 clients and if the client contacts are deleted after disabling case component, the entries for same in case_contact table are been removed, but the case isn't, which is again an inconsistent DB state.