1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/9758] Removed useless if-conditions to include functions.php

PHPBB3-9758
This commit is contained in:
Crizzo
2014-03-15 15:18:04 +01:00
parent e149c266ce
commit 0d4968f735
7 changed files with 1 additions and 34 deletions

View File

@@ -398,10 +398,6 @@ class mcp_warn
}
// Generate the appropriate user information for the user we are looking at
if (!function_exists('phpbb_get_user_avatar'))
{
include($phpbb_root_path . 'includes/functions.' . $phpEx);
}
get_user_rank($user_row['user_rank'], $user_row['user_posts'], $rank_title, $rank_img, $rank_img_src);
$avatar_img = phpbb_get_user_avatar($user_row);