[NFC] Simplify method of getting logged in contact ID
authorJohn Kingsnorth <john@johnkingsnorth.co.uk>
Mon, 14 Aug 2017 13:38:31 +0000 (14:38 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Aug 2017 13:38:31 +0000 (14:38 +0100)
commit34f493fb0dac55b00316db31edae14e4b9188ce5
treed9fd4eb2efd94313b4146add79231454af9449ff
parent45c3cac64701b8385aef5d56a0c831810bf815c4
[NFC] Simplify method of getting logged in contact ID

Use the existing utility function getLoggedInContactID, rather than loading the session and then calling get->userID.
CRM/Profile/Form/Edit.php