mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-06-09 00:32:05 -04:00
Remove unnecessary validation of terms
This commit is contained in:
parent
6fa19e6f7b
commit
53d8ff2c00
1 changed files with 0 additions and 15 deletions
|
|
@ -58,21 +58,6 @@ class ColumnChooser extends CompatForm
|
|||
return $this->getElement('columns')->prepareMultipartUpdate($this->getRequest());
|
||||
}
|
||||
|
||||
public function isValid()
|
||||
{
|
||||
if (! parent::isValid()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
foreach ($this->getElement('columns')->getTerms() as $term) {
|
||||
if ($term->getMessage() !== null) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate terms, mark invalid ones, and set labels
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue