diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-01-04 15:10:43 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-01-04 15:10:43 +0100 |
commit | 7256a2d944df10ef649794c6174fea5ca69adea3 (patch) | |
tree | c28b409e5a738f1a73f00a5f85ac9a204ff8d943 /phpBB/includes/functions_display.php | |
parent | 5d091e2d8f5079a8ce8dc14500c29f6642c40e98 (diff) | |
download | forums-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/functions_display.php')
-rw-r--r-- | phpBB/includes/functions_display.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index cf56250296..0a288127a4 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -1347,10 +1347,10 @@ function get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank * * @return string Avatar html */ -function get_user_avatar($user_row, $alt = 'USER_AVATAR', $ignore_config = false) +function phpbb_get_user_avatar($user_row, $alt = 'USER_AVATAR', $ignore_config = false) { $row = phpbb_avatar_manager::clean_row($user_row); - return get_avatar($row, $alt, $ignore_config); + return phpbb_get_avatar($row, $alt, $ignore_config); } /** @@ -1362,10 +1362,10 @@ function get_user_avatar($user_row, $alt = 'USER_AVATAR', $ignore_config = false * * @return string Avatar html */ -function get_group_avatar($user_row, $alt = 'GROUP_AVATAR', $ignore_config = false) +function phpbb_get_group_avatar($user_row, $alt = 'GROUP_AVATAR', $ignore_config = false) { $row = phpbb_avatar_manager::clean_row($user_row); - return get_avatar($row, $alt, $ignore_config); + return phpbb_get_avatar($row, $alt, $ignore_config); } /** @@ -1377,7 +1377,7 @@ function get_group_avatar($user_row, $alt = 'GROUP_AVATAR', $ignore_config = fal * * @return string Avatar html */ -function get_avatar($row, $alt, $ignore_config = false) +function phpbb_get_avatar($row, $alt, $ignore_config = false) { global $user, $config, $cache, $phpbb_root_path, $phpEx; global $request; |