civicrm/civicrm-core — pull request #4730 by totten (2014-12-17 07:02:06+00:00)
Title: CRM-15713 - CRM_Case_BAO_Case::accessCase - Split off from getCases().

This allows us to explicit control over more parameters (eg case_status_id)
and to improve performance (by focusing on the specific $caseId).

(This is an untested backport of https://github.com/civicrm/civicrm-core/pull/4729 .)