Skip to content

Commit

Permalink
Remove useless tab on manage_proj_page
Browse files Browse the repository at this point in the history
Fixes #23460
  • Loading branch information
atrol committed Oct 11, 2017
1 parent 7a1aa2e commit a892b84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/html_api.php
Expand Up @@ -606,7 +606,9 @@ function print_summary_submenu() {
function print_manage_menu( $p_page = '' ) {
$t_pages = array();

$t_pages['manage_overview_page.php'] = array( 'url' => 'manage_overview_page.php', 'label' => '' );
if( access_has_global_level( config_get( 'manage_site_threshold' ) ) ) {
$t_pages['manage_overview_page.php'] = array( 'url' => 'manage_overview_page.php', 'label' => '' );
}
if( access_has_global_level( config_get( 'manage_user_threshold' ) ) ) {
$t_pages['manage_user_page.php'] = array( 'url' => 'manage_user_page.php', 'label' => 'manage_users_link' );
}
Expand Down

0 comments on commit a892b84

Please sign in to comment.