[Ref] Code simplification - remove conditional chunk
authoreileen <emcnaughton@wikimedia.org>
Sun, 13 Sep 2020 07:54:30 +0000 (19:54 +1200)
committereileen <emcnaughton@wikimedia.org>
Sun, 13 Sep 2020 22:37:38 +0000 (10:37 +1200)
commitfba045e1d152968400b6916099ae01319a289591
treeb161e954942840519f08aa328497c0d379150245
parenta31cdda9e9acda454f02790e3e8d1aca1f02ea2c
[Ref] Code simplification - remove conditional chunk

All this calculation of component is only to insert it into an error messaage that we don't expect to see
(ie it's an 'unknown error' error message, not an anticipated one.

Given that, it's hard to see why we would use so many lines of code to calculate it
CRM/Activity/BAO/Activity.php