Code Duplication    Length = 7-7 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1358-1364 (lines=7) @@
1355
	 *  @param    string 		$key - url param key indicating a route is being called
1356
	 *  @return 	string
1357
	 */
1358
	public static function get_forward( $route = NULL, $status = 0, $key = 'ee' ) {
1359
		do_action( 'AHEE__EE_Config__get_forward__begin',$route,$status );
1360
		if ( isset( EE_Config::$_module_forward_map[ $key ][ $route ][ $status ] )) {
1361
			return apply_filters( 'FHEE__EE_Config__get_forward', EE_Config::$_module_forward_map[ $key ][ $route ][ $status ], $route,$status );
1362
		}
1363
		return NULL;
1364
	}
1365
1366
1367
@@ 1407-1413 (lines=7) @@
1404
	 *  @param    string 		$key - url param key indicating a route is being called
1405
	 *  @return 	string
1406
	 */
1407
	public static function get_view( $route = NULL, $status = 0, $key = 'ee' ) {
1408
		do_action( 'AHEE__EE_Config__get_view__begin',$route,$status );
1409
		if ( isset( EE_Config::$_module_view_map[ $key ][ $route ][ $status ] )) {
1410
			return apply_filters( 'FHEE__EE_Config__get_view', EE_Config::$_module_view_map[ $key ][ $route ][ $status ], $route,$status );
1411
		}
1412
		return NULL;
1413
	}
1414
1415
1416