X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FBAO%2FUFMatch.php;h=1630ece952640de14ad3f86007c9f9274088b8a3;hb=24f8127938dec80960d388e50fd5b89aa450b494;hp=dadd0ce70faaa08123c0b2b43806af8cdf20c07d;hpb=394ce8484f74df732dbbecb37cb13bfe3ad6ec1b;p=civicrm-core.git diff --git a/CRM/Core/BAO/UFMatch.php b/CRM/Core/BAO/UFMatch.php index dadd0ce70f..1630ece952 100644 --- a/CRM/Core/BAO/UFMatch.php +++ b/CRM/Core/BAO/UFMatch.php @@ -1,9 +1,9 @@ 0 ? FALSE : TRUE; @@ -547,6 +563,8 @@ AND domain_id = %4 * see if this user exists, and if so, if they're allowed to login * * + * @param $openId + * * @return bool true if allowed to login, false otherwise * @access public * @static @@ -583,6 +601,11 @@ AND domain_id = %4 return $ufId; } + /** + * @param $email + * + * @return bool + */ static function isDuplicateUser($email) { $session = CRM_Core_Session::singleton(); $contactID = $session->get('userID'); @@ -599,10 +622,13 @@ AND domain_id = %4 /** * Get uf match values for given uf id or logged in user. * - * @param int $ufID uf id. + * @param int $ufID uf id. * * return array $ufValues uf values. - **/ + ** + * + * @return array + */ static function getUFValues($ufID = NULL) { if (!$ufID) { //get logged in user uf id.