continuing to refactor the validator.

This commit is contained in:
Taylor Otwell 2011-10-16 14:27:23 -05:00
parent fc820e733b
commit 06765e9aa3
1 changed files with 0 additions and 6 deletions

View File

@ -495,11 +495,6 @@ protected function validate_mimes($attribute, $parameters)
/**
* Get the proper error message for an attribute and rule.
*
* Developer specified attribute specific rules take first priority.
* Developer specified error rules take second priority. If the error
* message has not been specified by the developer, the default will
* be used from the validation language file.
*
* @param string $attribute
* @param string $rule
* @return string
@ -520,7 +515,6 @@ protected function message($attribute, $rule)
{
return $this->messages[$rule];
}
// If the
elseif (in_array($rule, $this->size_rules) and ! $this->has_rule($attribute, $this->numeric_rules))
{
$line = (array_key_exists($attribute, Input::file())) ? "file" : "string";