do not add the xcm default profile manually as an option

it simply does not work
This commit is contained in:
Marc Michalsky 2023-08-03 15:04:18 +02:00
parent 3644086ab3
commit 0b2b8d6523
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -613,9 +613,6 @@ class CRM_Twingle_Form_Profile extends CRM_Core_Form {
*/
public static function getXCMProfiles() {
if (!isset(static::$_xcm_profiles)) {
static::$_xcm_profiles = array(
'' => E::ts("<default profile>"),
);
if (method_exists('CRM_Xcm_Configuration', 'getProfileList')) {
$profiles = CRM_Xcm_Configuration::getProfileList();
foreach ($profiles as $profile_key => $profile_name) {