CRM-18472 - CRM_Contact_BAO_GroupContact - Remove erroneous references
authorTim Otten <totten@civicrm.org>
Mon, 1 Aug 2016 02:47:31 +0000 (19:47 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 1 Aug 2016 02:47:31 +0000 (19:47 -0700)
commitf078bc70e3e4f599cbb45c2087692d5980b9e82e
treedcfe11635212d938ecd2d6e2c1195b2fe935048d
parentf82e7aee418a2729c07109b731636a9c3cd5e697
CRM-18472 - CRM_Contact_BAO_GroupContact - Remove erroneous references

These lines are attempting to accept a return-value by reference, but the
function does not return by reference. In PHP 5.3+, this is effectively
not a reference; and in PHP 5.4+, it generates a warning. That leads
to test failures in CRM_Contact_BAO_ContactTest::testCreateProfileContact.
CRM/Contact/BAO/GroupContact.php
CRM/Contact/Page/View/UserDashBoard/GroupContact.php