Skip to content

Commit

Permalink
theme_elegance: Fix issue bmbrands#172
Browse files Browse the repository at this point in the history
  • Loading branch information
sbourget committed Sep 11, 2016
1 parent 1dcb6e1 commit 8f57e6e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions renderers/core_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ protected function block_header(block_contents $bc) {

public function user_picture(stdClass $user, array $options = null) {
global $PAGE;
if ($PAGE->bodyid == 'page-mod-forum-discuss' || $PAGE->bodyid == 'page-mod-forum-post' ) {
$options = array('size' => '100');
}
if ($PAGE->bodyid == 'page-site-index' && isset($options['courseid'])) {
$options = array('size' => '100');
}
Expand Down

0 comments on commit 8f57e6e

Please sign in to comment.