/** * Delete the object records that are associated with this cms user. * * @param int $ufID * Id of the user to delete. */ public static function deleteUser($ufID) { $ufmatch = new CRM_Core_DAO_UFMatch(); $ufmatch->uf_id = $ufID; $ufmatch->domain_id = CRM_Core_Config::domainID(); $ufmatch->delete(); }