🗑️ get rid of the warning about using an deprecated constant

This commit is contained in:
Marc Michalsky 2021-12-17 12:19:46 +01:00
parent 3e73ed733b
commit fbe30b0ce5

View file

@ -411,8 +411,7 @@ function _validateAndSendInput($id, $campaign_type_id): bool {
CRM_Core_Session::setStatus( CRM_Core_Session::setStatus(
$errorMessage, $errorMessage,
E::ts("Input validation failed"), E::ts("Input validation failed"),
error, error
[unique => TRUE]
); );
// Validation failed // Validation failed
return FALSE; return FALSE;