"MDL-18540, use admin_setting_configselect to set option"

This commit is contained in:
dongsheng
2009-03-30 09:17:05 +00:00
parent d547bb0bd0
commit 4113a8d05d
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -243,11 +243,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'
)));
+1 -1
View File
@@ -6,7 +6,7 @@
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
$version = 2007101542; // YYYYMMDD = date of the 1.9 branch (don't change)
$version = 2007101543; // YYYYMMDD = date of the 1.9 branch (don't change)
// X = release number 1.9.[0,1,2,3,4,5...]
// Y.YY = micro-increments between releases