mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-48269 group: Remove additional occurrences of hidepicture
This commit is contained in:
parent
19c8985c7e
commit
666cce74e5
2 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue