diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2012-04-08 21:29:52 +0200 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2012-04-08 21:29:52 +0200 |
| commit | 3b71e81cfba726043063b05cb793e18186143252 (patch) | |
| tree | 3cd21125fa22e33082d2fc30b2bcd70639369ced /phpBB/includes/functions_display.php | |
| parent | 81fb4268cd141259fe5b3bc9ad51adf2e29e0772 (diff) | |
| download | forums-3b71e81cfba726043063b05cb793e18186143252.tar forums-3b71e81cfba726043063b05cb793e18186143252.tar.gz forums-3b71e81cfba726043063b05cb793e18186143252.tar.bz2 forums-3b71e81cfba726043063b05cb793e18186143252.tar.xz forums-3b71e81cfba726043063b05cb793e18186143252.zip | |
[feature/avatars] Simplify clean_row, move it to avatar manager
PHPBB3-10018
Diffstat (limited to 'phpBB/includes/functions_display.php')
| -rw-r--r-- | phpBB/includes/functions_display.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 82638b7f2b..619c30ada5 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -1281,7 +1281,7 @@ function get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank */ function get_user_avatar($user_row, $alt = 'USER_AVATAR', $ignore_config = false) { - $row = phpbb_avatar_driver::clean_row($user_row, phpbb_avatar_driver_interface::FROM_USER); + $row = phpbb_avatar_manager::clean_row($user_row); return get_avatar($row, $alt, $ignore_config); } @@ -1296,7 +1296,7 @@ function get_user_avatar($user_row, $alt = 'USER_AVATAR', $ignore_config = false */ function get_group_avatar($user_row, $alt = 'GROUP_AVATAR', $ignore_config = false) { - $row = phpbb_avatar_driver::clean_row($user_row, phpbb_avatar_driver_interface::FROM_GROUP); + $row = phpbb_avatar_manager::clean_row($user_row); return get_avatar($row, $alt, $ignore_config); } |
