Code Duplication    Length = 7-7 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1466-1472 (lines=7) @@
1463
	 * @param    string  $key    - url param key indicating a route is being called
1464
	 * @return    string
1465
	 */
1466
	public static function get_forward( $route = null, $status = 0, $key = 'ee' ) {
1467
		do_action( 'AHEE__EE_Config__get_forward__begin', $route, $status );
1468
		if ( isset( EE_Config::$_module_forward_map[ $key ][ $route ][ $status ] ) ) {
1469
			return apply_filters(
1470
				'FHEE__EE_Config__get_forward',
1471
				EE_Config::$_module_forward_map[ $key ][ $route ][ $status ],
1472
				$route,
1473
				$status
1474
			);
1475
		}
@@ 1530-1536 (lines=7) @@
1527
	 * @param    string  $key    - url param key indicating a route is being called
1528
	 * @return    string
1529
	 */
1530
	public static function get_view( $route = null, $status = 0, $key = 'ee' ) {
1531
		do_action( 'AHEE__EE_Config__get_view__begin', $route, $status );
1532
		if ( isset( EE_Config::$_module_view_map[ $key ][ $route ][ $status ] ) ) {
1533
			return apply_filters(
1534
				'FHEE__EE_Config__get_view',
1535
				EE_Config::$_module_view_map[ $key ][ $route ][ $status ],
1536
				$route,
1537
				$status
1538
			);
1539
		}