mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Reduce duplication in H264MappingGenerator
This commit is contained in:
@@ -44,9 +44,7 @@ class databox_subdefsStructure implements IteratorAggregate, Countable
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param databox $databox
|
||||
* @return Array
|
||||
*/
|
||||
public function __construct(databox $databox, TranslatorInterface $translator)
|
||||
{
|
||||
@@ -54,8 +52,6 @@ class databox_subdefsStructure implements IteratorAggregate, Countable
|
||||
$this->translator = $translator;
|
||||
|
||||
$this->load_subdefs();
|
||||
|
||||
return $this->AvSubdefs;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user