Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

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