Commit 956c4e27 authored by Nicolas Widart's avatar Nicolas Widart

Removing unnecessary unset

parent c62dc45b
......@@ -15,11 +15,14 @@ class EloquentMenuItemRepository extends EloquentBaseRepository implements MenuI
$menuItem->target = $data['target'];
$menuItem->module_name = $data['module'];
unset($data['menu_id'], $data['page_id'], $data['target'], $data['module']);
$translatableData = Helper::separateLanguages($data);
Helper::updateTranslated($menuItem, $translatableData);
return $menuItem;
}
public function update($menuItem, $data)
{
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment