Code Duplication    Length = 7-7 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1536-1542 (lines=7) @@
1533
     * @param    string  $key    - url param key indicating a route is being called
1534
     * @return    string
1535
     */
1536
    public static function get_forward($route = null, $status = 0, $key = 'ee')
1537
    {
1538
        do_action('AHEE__EE_Config__get_forward__begin', $route, $status);
1539
        if (isset(EE_Config::$_module_forward_map[$key][$route][$status])) {
1540
            return apply_filters(
1541
                'FHEE__EE_Config__get_forward',
1542
                EE_Config::$_module_forward_map[$key][$route][$status],
1543
                $route,
1544
                $status
1545
            );
@@ 1602-1608 (lines=7) @@
1599
     * @param    string  $key    - url param key indicating a route is being called
1600
     * @return    string
1601
     */
1602
    public static function get_view($route = null, $status = 0, $key = 'ee')
1603
    {
1604
        do_action('AHEE__EE_Config__get_view__begin', $route, $status);
1605
        if (isset(EE_Config::$_module_view_map[$key][$route][$status])) {
1606
            return apply_filters(
1607
                'FHEE__EE_Config__get_view',
1608
                EE_Config::$_module_view_map[$key][$route][$status],
1609
                $route,
1610
                $status
1611
            );