MDL-48269 group: Remove additional occurrences of hidepicture

This commit is contained in:
Jun Pataleta 2021-01-28 14:08:45 +08:00
parent 19c8985c7e
commit 666cce74e5
2 changed files with 1 additions and 2 deletions

View file

@ -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',

View file

@ -152,7 +152,6 @@ $groups[OVERVIEW_NO_GROUP] = (object)array(
'descriptionformat' => FORMAT_HTML,
'enrolmentkey' => '',
'picture' => 0,
'hidepicture' => 0,
'timecreated' => 0,
'timemodified' => 0,
);