QuickBaseForm: less code

This commit is contained in:
Thomas Gelf 2017-07-13 07:19:27 +02:00
parent b6f6c82c18
commit 2e0e601cee
1 changed files with 5 additions and 7 deletions

View File

@ -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;
}