mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-48269 group: Remove the option to hide the picture of a group
Plus additional amendments to Fred's original commit: 1. Updating the version numbers 2. Merging the original two-step upgrade below into one for simplicity: 1. Deleting the pictures for groups with hidepicture set to 1; and 2. Dropping the hidepicture field itself. 3. Converted array() usages to the short syntax [].
This commit is contained in:
parent
41037efa7a
commit
3aed37ee4d
8 changed files with 62 additions and 13 deletions
|
@ -77,9 +77,6 @@ class group_form extends moodleform {
|
|||
$mform->addElement('checkbox', 'deletepicture', get_string('delete'));
|
||||
$mform->setDefault('deletepicture', 0);
|
||||
|
||||
$options = array(get_string('no'), get_string('yes'));
|
||||
$mform->addElement('select', 'hidepicture', get_string('hidepicture'), $options);
|
||||
|
||||
$mform->addElement('filepicker', 'imagefile', get_string('newpicture', 'group'));
|
||||
$mform->addHelpButton('imagefile', 'newpicture', 'group');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue