Commit 7be4d2d1 authored by Ruslan Kabalin's avatar Ruslan Kabalin Committed by Gerrit Code Review
Browse files

Revert "Make profile_icon_url output compatible with html export filter." due to bug #806985

This reverts commit 858f1b9a
parent 858f1b9a
......@@ -1886,10 +1886,10 @@ function profile_icon_url($user, $maxwidth=40, $maxheight=40) {
}
$thumb = get_config('wwwroot') . 'thumb.php';
$sizeparams = 'maxwidth=' . $maxwidth . '&maxheight=' . $maxheight;
$sizeparams = 'maxwidth=' . $maxwidth . '&maxheight=' . $maxheight;
if (!empty($user->profileicon)) {
return $thumb . '?type=profileiconbyid&' . $sizeparams . '&id=' . $user->profileicon;
return $thumb . '?type=profileiconbyid&' . $sizeparams . '&id=' . $user->profileicon;
}
// Assume we have the right size available in docroot, so we don't
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment