aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggMenuBuilder.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2013-05-23 12:36:12 -0400
committerBrett Profitt <brett.profitt@gmail.com>2013-05-23 12:36:12 -0400
commit59df7550f6e1f1dce4f3161682d9fb3000123d40 (patch)
treeb771588cf3d62f4edfbaf4b26d310c84a2d5f0ad /engine/classes/ElggMenuBuilder.php
parentf49e7f3fbdf3173b4dc548eab568c5fae1b773d3 (diff)
downloadelgg-59df7550f6e1f1dce4f3161682d9fb3000123d40.tar.gz
elgg-59df7550f6e1f1dce4f3161682d9fb3000123d40.tar.bz2
Refs #5522. Removed unused code.
Diffstat (limited to 'engine/classes/ElggMenuBuilder.php')
-rw-r--r--engine/classes/ElggMenuBuilder.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/engine/classes/ElggMenuBuilder.php b/engine/classes/ElggMenuBuilder.php
index 26b0de734..276cb6b2c 100644
--- a/engine/classes/ElggMenuBuilder.php
+++ b/engine/classes/ElggMenuBuilder.php
@@ -128,7 +128,6 @@ class ElggMenuBuilder {
$parent_name = $menu_item->getParentName();
if (array_key_exists($parent_name, $current_gen)) {
$next_gen[$menu_item->getName()] = $menu_item;
- $data = $current_gen[$parent_name]->getData();
if (!in_array($menu_item, $current_gen[$parent_name]->getData('children'))) {
$current_gen[$parent_name]->addChild($menu_item);
$menu_item->setParent($current_gen[$parent_name]);