mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
QuickBaseForm: less code
This commit is contained in:
parent
b6f6c82c18
commit
2e0e601cee
@ -59,13 +59,11 @@ abstract class QuickBaseForm extends Zend_Form implements ValidHtml
|
||||
ucfirst($module->getName())
|
||||
);
|
||||
|
||||
$this->addPrefixPaths(array(
|
||||
array(
|
||||
'prefix' => __NAMESPACE__ . '\\Element\\',
|
||||
'path' => $basedir . '/Element',
|
||||
'type' => static::ELEMENT
|
||||
)
|
||||
));
|
||||
$this->addPrefixPath(
|
||||
__NAMESPACE__ . '\\Element\\',
|
||||
$basedir . '/Element',
|
||||
static::ELEMENT
|
||||
);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user