Code Duplication    Length = 5-5 lines in 2 locations

admin/mimetypes.php 2 locations

@@ 413-417 (lines=5) @@
410
                redirect_header(PUBLISHER_ADMIN_URL . "/mimetypes.php?limit=$limit&start=$start", 3, _AM_PUBLISHER_MESSAGE_DELETE_MIME_ERROR);
411
            }
412
        }
413
        if (Request::getString('add_mime', '', 'POST')) {
414
            //        header("Location: " . PUBLISHER_ADMIN_URL . "/mimetypes.php?op=add&start=$start&limit=$limit");
415
            redirect_header(PUBLISHER_ADMIN_URL . "/mimetypes.php?op=add&start=$start&limit=$limit", 3, _AM_PUBLISHER_MIME_CREATEF);
416
            //        exit();
417
        }
418
        if (Request::getString('mime_search', '', 'POST')) {
419
            //        header("Location: " . PUBLISHER_ADMIN_URL . "/mimetypes.php?op=search");
420
            redirect_header(PUBLISHER_ADMIN_URL . '/mimetypes.php?op=search', 3, _AM_PUBLISHER_MIME_SEARCH);
@@ 607-611 (lines=5) @@
604
                redirect_header(PUBLISHER_ADMIN_URL . "/mimetypes.php?limit=$limit&start=$start", 3, _AM_PUBLISHER_MESSAGE_DELETE_MIME_ERROR);
605
            }
606
        }
607
        if (Request::getString('add_mime', '', 'POST')) {
608
            //        header("Location: " . PUBLISHER_ADMIN_URL . "/mimetypes.php?op=add&start=$start&limit=$limit");
609
            redirect_header(PUBLISHER_ADMIN_URL . "/mimetypes.php?op=add&start=$start&limit=$limit", 3, _AM_PUBLISHER_MIME_CREATEF);
610
            //        exit();
611
        }
612
613
        $order = Request::getString('order', 'ASC');
614
        $sort  = Request::getString('sort', 'mime_name');