Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6359-6362 (lines=4) @@
6356
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6357
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
6358
                    break;
6359
                case TOOL_STUDENTPUBLICATION:
6360
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6361
                    $return .= $this->display_student_publication_form('edit', $item_id, $row);
6362
                    break;
6363
                case TOOL_FORUM:
6364
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6365
                    $return .= $this->display_forum_form('edit', $item_id, $row);
@@ 8480-8483 (lines=4) @@
8477
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8478
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8479
                    break;
8480
                case TOOL_STUDENTPUBLICATION :
8481
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8482
                    $return .= $this->display_student_publication_form('move', $item_id, $row);
8483
                    break;
8484
                case TOOL_FORUM :
8485
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8486
                    $return .= $this->display_forum_form('move', $item_id, $row);