From 104fee713970872ed19d43af4624f3fcbef65aed Mon Sep 17 00:00:00 2001 From: Roland Becker Date: Tue, 10 Nov 2015 22:47:55 +0100 Subject: [PATCH] Remove unused local variables --- core/html_api.php | 1 - core/print_api.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/core/html_api.php b/core/html_api.php index 435a7e117d..324977eb7c 100644 --- a/core/html_api.php +++ b/core/html_api.php @@ -1428,7 +1428,6 @@ function html_status_legend( $p_display_position, $p_restrict_by_filter = false echo ''; # draw the status bar - $t_status_enum_string = config_get( 'status_enum_string' ); foreach( $t_status_array as $t_status => $t_name ) { $t_val = isset( $t_status_names[$t_status] ) ? $t_status_names[$t_status] diff --git a/core/print_api.php b/core/print_api.php index 50f7e642f6..88e13f10ab 100644 --- a/core/print_api.php +++ b/core/print_api.php @@ -854,8 +854,6 @@ function print_version_option_list( $p_version = '', $p_project_id = null, $p_re $t_listed = array(); $t_max_length = config_get( 'max_dropdown_length' ); - $t_show_version_dates = access_has_project_level( config_get( 'show_version_dates_threshold' ) ); - $t_short_date_format = config_get( 'short_date_format' ); foreach( $t_versions as $t_version ) { # If the current version is obsolete, and current version not equal to $p_version,