aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_warn.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-01-04 15:10:43 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-01-04 15:10:43 +0100
commit7256a2d944df10ef649794c6174fea5ca69adea3 (patch)
treec28b409e5a738f1a73f00a5f85ac9a204ff8d943 /phpBB/includes/mcp/mcp_warn.php
parent5d091e2d8f5079a8ce8dc14500c29f6642c40e98 (diff)
downloadforums-7256a2d944df10ef649794c6174fea5ca69adea3.tar
forums-7256a2d944df10ef649794c6174fea5ca69adea3.tar.gz
forums-7256a2d944df10ef649794c6174fea5ca69adea3.tar.bz2
forums-7256a2d944df10ef649794c6174fea5ca69adea3.tar.xz
forums-7256a2d944df10ef649794c6174fea5ca69adea3.zip
[feature/avatars] Add phpbb prefix to new functions
Although get_user_avatar() is not new, the phpbb prefix was prepended. This is due to the fact that it was entirely rewritten and is therefore more or less a completely new function. PHPBB3-10018
Diffstat (limited to 'phpBB/includes/mcp/mcp_warn.php')
-rw-r--r--phpBB/includes/mcp/mcp_warn.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/mcp/mcp_warn.php b/phpBB/includes/mcp/mcp_warn.php
index f88ac3803f..4ef477775d 100644
--- a/phpBB/includes/mcp/mcp_warn.php
+++ b/phpBB/includes/mcp/mcp_warn.php
@@ -304,13 +304,13 @@ class mcp_warn
$message = smiley_text($message);
// Generate the appropriate user information for the user we are looking at
- if (!function_exists('get_user_avatar'))
+ if (!function_exists('phpbb_get_user_avatar'))
{
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
}
get_user_rank($user_row['user_rank'], $user_row['user_posts'], $rank_title, $rank_img, $rank_img_src);
- $avatar_img = get_user_avatar($user_row);
+ $avatar_img = phpbb_get_user_avatar($user_row);
$template->assign_vars(array(
'U_POST_ACTION' => $this->u_action,
@@ -409,13 +409,13 @@ class mcp_warn
}
// Generate the appropriate user information for the user we are looking at
- if (!function_exists('get_user_avatar'))
+ if (!function_exists('phpbb_get_user_avatar'))
{
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
}
get_user_rank($user_row['user_rank'], $user_row['user_posts'], $rank_title, $rank_img, $rank_img_src);
- $avatar_img = get_user_avatar($user_row);
+ $avatar_img = phpbb_get_user_avatar($user_row);
// OK, they didn't submit a warning so lets build the page for them to do so
$template->assign_vars(array(