diff options
author | Crizzo <mail@crizzo.de> | 2014-03-15 15:18:04 +0100 |
---|---|---|
committer | Crizzo <mail@crizzo.de> | 2014-03-28 19:12:31 +0100 |
commit | 0d4968f7356cc177a4a0921eef2853c343798110 (patch) | |
tree | aa29feb50c1a0c36eecdf17b3b2cfcb7d2f5b0da /phpBB/includes/mcp | |
parent | e149c266ce10177a45337392f63bdcc11e1af3b6 (diff) | |
download | forums-0d4968f7356cc177a4a0921eef2853c343798110.tar forums-0d4968f7356cc177a4a0921eef2853c343798110.tar.gz forums-0d4968f7356cc177a4a0921eef2853c343798110.tar.bz2 forums-0d4968f7356cc177a4a0921eef2853c343798110.tar.xz forums-0d4968f7356cc177a4a0921eef2853c343798110.zip |
[ticket/9758] Removed useless if-conditions to include functions.php
PHPBB3-9758
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r-- | phpBB/includes/mcp/mcp_notes.php | 4 | ||||
-rw-r--r-- | phpBB/includes/mcp/mcp_warn.php | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/phpBB/includes/mcp/mcp_notes.php b/phpBB/includes/mcp/mcp_notes.php index 9d32467f0f..be8e09b0c3 100644 --- a/phpBB/includes/mcp/mcp_notes.php +++ b/phpBB/includes/mcp/mcp_notes.php @@ -174,10 +174,6 @@ class mcp_notes } // 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); - } $rank_title = $rank_img = ''; $avatar_img = phpbb_get_user_avatar($userrow); diff --git a/phpBB/includes/mcp/mcp_warn.php b/phpBB/includes/mcp/mcp_warn.php index 1d6c71e4c6..418bab4533 100644 --- a/phpBB/includes/mcp/mcp_warn.php +++ b/phpBB/includes/mcp/mcp_warn.php @@ -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); |