Code Duplication    Length = 7-7 lines in 2 locations

core/EE_Config.core.php 2 locations

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