MDL-48269 group: Remove additional occurrences of hidepicture
This commit is contained in:
@@ -60,7 +60,7 @@ class group_details implements renderable, templatable {
|
||||
*/
|
||||
public function export_for_template(renderer_base $output) {
|
||||
|
||||
if (!empty($this->group->description) || (!empty($this->group->picture) && empty($this->group->hidepicture))) {
|
||||
if (!empty($this->group->description) || (!empty($this->group->picture))) {
|
||||
$context = context_course::instance($this->group->courseid);
|
||||
$description = file_rewrite_pluginfile_urls($this->group->description,
|
||||
'pluginfile.php',
|
||||
|
||||
@@ -152,7 +152,6 @@ $groups[OVERVIEW_NO_GROUP] = (object)array(
|
||||
'descriptionformat' => FORMAT_HTML,
|
||||
'enrolmentkey' => '',
|
||||
'picture' => 0,
|
||||
'hidepicture' => 0,
|
||||
'timecreated' => 0,
|
||||
'timemodified' => 0,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user