protected function applyAdapterProfileToExistingProfile($adapter_profile, $profile)
	{
		$attributes = get_object_vars($adapter_profile);

		foreach ($attributes as $k => $v)
		{
			$profile->$k = $v;
		}

		return $profile;
	}
protected function applyAdapterProfileToExistingProfile($adapter_profile, $profile)
	{
		$attributes = get_object_vars($adapter_profile);

		foreach ($attributes as $k => $v)
		{
			$profile->$k = $v;
		}

		return $profile;
	}
protected function applyAdapterProfileToExistingProfile ( $ adapter_profile , $ profile ) { $ attributes = get_object_vars ( $ adapter_profile ) ; foreach ( $ attributes as $ k => $ v ) { $ profile -> $ k = $ v ; } return $ profile ; }
Saves an existing social profile with data from a HybridAuth adapter profile

@param \Hybrid_User_Profile	$adapter_profile
@param User					$user

@return Profile
Saves an existing social profile with data from a HybridAuth adapter profile