From a58194fe4ac10f894ed1e955f5717b0bcdcdfe25 Mon Sep 17 00:00:00 2001 From: Marc Michalsky Date: Thu, 3 Aug 2023 15:04:18 +0200 Subject: [PATCH] do not add the xcm default profile manually as an option it simply does not work --- CRM/Twingle/Form/Profile.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Twingle/Form/Profile.php b/CRM/Twingle/Form/Profile.php index 068f84b..b658609 100644 --- a/CRM/Twingle/Form/Profile.php +++ b/CRM/Twingle/Form/Profile.php @@ -569,9 +569,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) {