Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6350-6353 (lines=4) @@
6347
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6348
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
6349
                    break;
6350
                case TOOL_STUDENTPUBLICATION :
6351
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6352
                    $return .= $this->display_student_publication_form('edit', $item_id, $row);
6353
                    break;
6354
                case TOOL_FORUM :
6355
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6356
                    $return .= $this->display_forum_form('edit', $item_id, $row);
@@ 8469-8472 (lines=4) @@
8466
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8467
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8468
                    break;
8469
                case TOOL_STUDENTPUBLICATION :
8470
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8471
                    $return .= $this->display_student_publication_form('move', $item_id, $row);
8472
                    break;
8473
                case TOOL_FORUM :
8474
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8475
                    $return .= $this->display_forum_form('move', $item_id, $row);