Remove unneeded and strange profile field save confirm alert
authorlarssandergreen <lars@wildsight.ca>
Thu, 6 Jul 2023 17:40:49 +0000 (11:40 -0600)
committerlarssandergreen <lars@wildsight.ca>
Thu, 6 Jul 2023 17:40:49 +0000 (11:40 -0600)
CRM/UF/Form/Field.php

index dffad119a0dd788939d43ce56087bb981fa3ea73..5e9e87a22987eac049da19865636666531c79e3c 100644 (file)
@@ -551,9 +551,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
 
       $this->setMessageIfCountryNotAboveState($fieldName, CRM_Utils_Array::value('location_type_id', $apiFormattedParams), $apiFormattedParams['weight'], $apiFormattedParams['uf_group_id']);
 
-      CRM_Core_Session::setStatus(ts('Your CiviCRM Profile Field \'%1\' has been saved to \'%2\'.',
-        [1 => $name, 2 => $this->_title]
-      ), ts('Profile Field Saved'), 'success');
     }
     $buttonName = $this->controller->getButtonName();