mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Remove dead code
This commit is contained in:
@@ -231,7 +231,7 @@ class databox_subdefsStructure implements IteratorAggregate, Countable
|
||||
|
||||
foreach ($labels as $code => $label) {
|
||||
$child = $dom_struct->createElement('label');
|
||||
$labelElement = $child->appendChild($dom_struct->createTextNode($label));
|
||||
$child->appendChild($dom_struct->createTextNode($label));
|
||||
$lang = $child->appendChild($dom_struct->createAttribute('lang'));
|
||||
$lang->value = $code;
|
||||
$subdef->appendChild($child);
|
||||
|
Reference in New Issue
Block a user