mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
mvc: remove special validation messages likely never seen
We could use defaultValidationMessage() but the BaseListField message is fitting enough and the GUI itself cannot cause this to happen. The reason for stripping is also that the variable is not handled by the field so there is no special validation meaning attached either. For BaseField derivates the idea was to set a custom required validation message which is no longer possible or possibly not even reachable.
This commit is contained in:
parent
9cb123ce7f
commit
ac0fcaa406
@ -51,11 +51,6 @@ class AuthenticationServerField extends BaseListField
|
||||
*/
|
||||
private $internalCacheKey = '*';
|
||||
|
||||
/**
|
||||
* @var string default validation message string
|
||||
*/
|
||||
protected $internalValidationMessage = "please specify a valid authentication server";
|
||||
|
||||
/**
|
||||
* generate validation data (list of AuthServers)
|
||||
*/
|
||||
|
||||
@ -41,11 +41,6 @@ class ConfigdActionsField extends BaseListField
|
||||
*/
|
||||
private static $internalStaticOptionList = array();
|
||||
|
||||
/**
|
||||
* @var string default validation message string
|
||||
*/
|
||||
protected $internalValidationMessage = "please specify a valid action";
|
||||
|
||||
/**
|
||||
* @var array filters to use on the configd selection
|
||||
*/
|
||||
|
||||
@ -47,11 +47,6 @@ class AliasContentField extends BaseField
|
||||
*/
|
||||
protected $internalIsContainer = false;
|
||||
|
||||
/**
|
||||
* @var string default validation message string
|
||||
*/
|
||||
protected $internalValidationMessage = "alias name required";
|
||||
|
||||
/**
|
||||
* @var array list of known countries
|
||||
*/
|
||||
@ -82,7 +77,6 @@ class AliasContentField extends BaseField
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* split and yield items
|
||||
* @param array $data to validate
|
||||
@ -344,7 +338,6 @@ class AliasContentField extends BaseField
|
||||
}
|
||||
return $messages;
|
||||
}
|
||||
//
|
||||
|
||||
/**
|
||||
* retrieve field validators for this field type
|
||||
|
||||
@ -44,11 +44,6 @@ class AliasNameField extends BaseField
|
||||
*/
|
||||
protected $internalIsContainer = false;
|
||||
|
||||
/**
|
||||
* @var string default validation message string
|
||||
*/
|
||||
protected $internalValidationMessage = "alias name required";
|
||||
|
||||
/**
|
||||
* retrieve field validators for this field type
|
||||
* @return array returns list of validators
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user