Code Duplication    Length = 7-7 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1376-1382 (lines=7) @@
1373
     * @param    string  $key    - url param key indicating a route is being called
1374
     * @return    string
1375
     */
1376
    public static function get_forward($route = null, $status = 0, $key = 'ee')
1377
    {
1378
        do_action('AHEE__EE_Config__get_forward__begin', $route, $status);
1379
        if (isset(EE_Config::$_module_forward_map[ $key ][ $route ][ $status ])) {
1380
            return apply_filters(
1381
                'FHEE__EE_Config__get_forward',
1382
                EE_Config::$_module_forward_map[ $key ][ $route ][ $status ],
1383
                $route,
1384
                $status
1385
            );
@@ 1440-1446 (lines=7) @@
1437
     * @param    string  $key    - url param key indicating a route is being called
1438
     * @return    string
1439
     */
1440
    public static function get_view($route = null, $status = 0, $key = 'ee')
1441
    {
1442
        do_action('AHEE__EE_Config__get_view__begin', $route, $status);
1443
        if (isset(EE_Config::$_module_view_map[ $key ][ $route ][ $status ])) {
1444
            return apply_filters(
1445
                'FHEE__EE_Config__get_view',
1446
                EE_Config::$_module_view_map[ $key ][ $route ][ $status ],
1447
                $route,
1448
                $status
1449
            );