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…
Reference in New Issue