diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php index 9a8031a4868..053757ab0af 100644 --- a/blocks/admin/block_admin.php +++ b/blocks/admin/block_admin.php @@ -172,30 +172,9 @@ class block_admin extends block_list { } } - /// Should the following two be in this block? - - - /// View own activity report -// if ($course->showreports) { -// $this->content->items[]=''.get_string('activityreport').''; -// $this->content->icons[]=''; -// } - - - /// Edit your own profile - -// $fullname = fullname($USER, has_capability('moodle/site:viewfullnames', $context)); -// $editmyprofile = ''.get_string('editmyprofile').''; -// if (empty($USER->description)) { -// //Accessibility: replace non-standard with CSS ( makes title visible in IE). -// $text = get_string('profile').' '.get_string('missingdescription'); -// $this->content->items[]= $editmyprofile.' *'.$text.''; -// } else { -// $this->content->items[]= $editmyprofile; -// } -// $this->content->icons[]=''; - - + /// Link to the user own profile + $this->content->items[]=''.get_string('profile').''; + $this->content->icons[]=''; return $this->content; }