Code Duplication    Length = 7-7 lines in 2 locations

core/EE_Config.core.php 2 locations

@@ 1349-1355 (lines=7) @@
1346
	 *  @param    string 		$key - url param key indicating a route is being called
1347
	 *  @return 	string
1348
	 */
1349
	public static function get_forward( $route = NULL, $status = 0, $key = 'ee' ) {
1350
		do_action( 'AHEE__EE_Config__get_forward__begin',$route,$status );
1351
		if ( isset( EE_Config::$_module_forward_map[ $key ][ $route ][ $status ] )) {
1352
			return apply_filters( 'FHEE__EE_Config__get_forward', EE_Config::$_module_forward_map[ $key ][ $route ][ $status ], $route,$status );
1353
		}
1354
		return NULL;
1355
	}
1356
1357
1358
@@ 1398-1404 (lines=7) @@
1395
	 *  @param    string 		$key - url param key indicating a route is being called
1396
	 *  @return 	string
1397
	 */
1398
	public static function get_view( $route = NULL, $status = 0, $key = 'ee' ) {
1399
		do_action( 'AHEE__EE_Config__get_view__begin',$route,$status );
1400
		if ( isset( EE_Config::$_module_view_map[ $key ][ $route ][ $status ] )) {
1401
			return apply_filters( 'FHEE__EE_Config__get_view', EE_Config::$_module_view_map[ $key ][ $route ][ $status ], $route,$status );
1402
		}
1403
		return NULL;
1404
	}
1405
1406
1407