aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 921aaf870b..079a2d3e77 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1778,7 +1778,6 @@ function avatar_get_dimensions($avatar, $avatar_type, &$error, $current_x = 0, $
break;
case AVATAR_UPLOAD :
- // Make sure getimagesize works...
$avatar = $phpbb_root_path . $config['avatar_path'] . '/' . get_avatar_filename($avatar);
break;
@@ -1814,7 +1813,6 @@ function avatar_get_dimensions($avatar, $avatar_type, &$error, $current_x = 0, $
$image_data[0] = min($config['avatar_max_width'], $image_data[1]);
$image_data[0] = max($config['avatar_min_width'], $image_data[1]);
}
-
}
return array($image_data[0], $image_data[1]);
}