Simplify handling for case checking.
authoreileen <emcnaughton@wikimedia.org>
Wed, 24 Oct 2018 02:36:51 +0000 (15:36 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 31 Dec 2018 00:25:52 +0000 (13:25 +1300)
commit11b18d9da696922158ed08799706a806828dd823
tree664f0cec54d3534f165dff01509370a0bbd242a9
parent0e35e2aa2e0d33380f1ad8a1573ae9f76fe2d726
Simplify handling for case checking.

We already check if the contact has generic case permissions in the component checking section.

We can remove that check from the case check & also early return from there since a NO
at that point can't be overriden
CRM/Activity/BAO/Activity.php