mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
"MDL-18540, use admin_setting_configselect to set option"
This commit is contained in:
parent
50da63ebd9
commit
408278ba12
2 changed files with 4 additions and 4 deletions
|
@ -234,11 +234,11 @@ $ADMIN->add('server', new admin_externalpage('phpinfo', get_string('phpinfo'), "
|
|||
// "performance" settingpage
|
||||
$temp = new admin_settingpage('performance', get_string('performance', 'admin'));
|
||||
|
||||
$temp->add(new admin_setting_special_selectsetup('memorylimit', get_string('memorylimit', 'admin'),
|
||||
get_string('configmemorylimit', 'admin'), 0,
|
||||
$temp->add(new admin_setting_configselect('memorylimit', get_string('memorylimit', 'admin'),
|
||||
get_string('configmemorylimit', 'admin'), '128M',
|
||||
// if this option is set to 0, default 128M will be used
|
||||
array( '64M' => '64M',
|
||||
'0' => '128M',
|
||||
'128M' => '128M',
|
||||
'256M' => '256M',
|
||||
'1024M' => '1024M'
|
||||
)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue