Code Duplication    Length = 4-4 lines in 2 locations

main/newscorm/learnpath.class.php 2 locations

@@ 6325-6328 (lines=4) @@
6322
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6323
                    $return .= $this->display_hotpotatoes_form('edit', $item_id, $row);
6324
                    break;
6325
                case TOOL_STUDENTPUBLICATION :
6326
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6327
                    $return .= $this->display_student_publication_form('edit', $item_id, $row);
6328
                    break;
6329
                case TOOL_FORUM :
6330
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
6331
                    $return .= $this->display_forum_form('edit', $item_id, $row);
@@ 8383-8386 (lines=4) @@
8380
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8381
                    $return .= $this->display_quiz_form('move', $item_id, $row);
8382
                    break;
8383
                case TOOL_STUDENTPUBLICATION :
8384
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8385
                    $return .= $this->display_student_publication_form('move', $item_id, $row);
8386
                    break;
8387
                case TOOL_FORUM :
8388
                    $return .= $this->display_manipulate($item_id, $row['item_type']);
8389
                    $return .= $this->display_forum_form('move', $item_id, $row);