MDL-13745 admin: add Output mail configuration test
[moodle.git] / admin / settings / server.php
CommitLineData
11b749ca 1<?php
1ea1bcb3 2
3// This file defines settingpages and externalpages under the "server" category
4
a559f630 5if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
6
1ea1bcb3 7// "systempaths" settingpage
e106013f 8$temp = new admin_settingpage('systempaths', new lang_string('systempaths','admin'));
c759ae5d
TBM
9$temp->add(new admin_setting_configexecutable('pathtophp', new lang_string('pathtophp', 'admin'),
10 new lang_string('configpathtophp', 'admin'), ''));
e106013f
SH
11$temp->add(new admin_setting_configexecutable('pathtodu', new lang_string('pathtodu', 'admin'), new lang_string('configpathtodu', 'admin'), ''));
12$temp->add(new admin_setting_configexecutable('aspellpath', new lang_string('aspellpath', 'admin'), new lang_string('edhelpaspellpath'), ''));
13$temp->add(new admin_setting_configexecutable('pathtodot', new lang_string('pathtodot', 'admin'), new lang_string('pathtodot_help', 'admin'), ''));
1bce3a70 14$temp->add(new admin_setting_configexecutable('pathtogs', new lang_string('pathtogs', 'admin'), new lang_string('pathtogs_help', 'admin'), '/usr/bin/gs'));
391663ce
MN
15$temp->add(new admin_setting_configexecutable('pathtopython', new lang_string('pathtopython', 'admin'),
16 new lang_string('pathtopythondesc', 'admin'), ''));
1caea91e 17$ADMIN->add('server', $temp);
1ea1bcb3 18
19
20
2f2137fc 21// "supportcontact" settingpage
e106013f 22$temp = new admin_settingpage('supportcontact', new lang_string('supportcontact','admin'));
16267407
BH
23$primaryadmin = get_admin();
24if ($primaryadmin) {
25 $primaryadminemail = $primaryadmin->email;
26 $primaryadminname = fullname($primaryadmin, true);
8e5da17a 27} else {
28 // no defaults during installation - admin user must be created first
29 $primaryadminemail = NULL;
30 $primaryadminname = NULL;
72ce416c 31}
113efed5 32$temp->add(new admin_setting_configtext('supportname', new lang_string('supportname', 'admin'),
066ec135 33 new lang_string('configsupportname', 'admin'), $primaryadminname, PARAM_NOTAGS));
113efed5 34$setting = new admin_setting_configtext('supportemail', new lang_string('supportemail', 'admin'),
066ec135 35 new lang_string('configsupportemail', 'admin'), $primaryadminemail, PARAM_EMAIL);
113efed5
FM
36$setting->set_force_ltr(true);
37$temp->add($setting);
e106013f 38$temp->add(new admin_setting_configtext('supportpage', new lang_string('supportpage', 'admin'), new lang_string('configsupportpage', 'admin'), '', PARAM_URL));
1caea91e 39$ADMIN->add('server', $temp);
1ea1bcb3 40
41
1ea1bcb3 42// "sessionhandling" settingpage
e106013f 43$temp = new admin_settingpage('sessionhandling', new lang_string('sessionhandling', 'admin'));
d79d5ac2
PS
44if (empty($CFG->session_handler_class) and $DB->session_lock_supported()) {
45 $temp->add(new admin_setting_configcheckbox('dbsessions', new lang_string('dbsessions', 'admin'), new lang_string('configdbsessions', 'admin'), 0));
46}
e106013f
SH
47$temp->add(new admin_setting_configselect('sessiontimeout', new lang_string('sessiontimeout', 'admin'), new lang_string('configsessiontimeout', 'admin'), 7200, array(14400 => new lang_string('numhours', '', 4),
48 10800 => new lang_string('numhours', '', 3),
49 7200 => new lang_string('numhours', '', 2),
50 5400 => new lang_string('numhours', '', '1.5'),
51 3600 => new lang_string('numminutes', '', 60),
52 2700 => new lang_string('numminutes', '', 45),
53 1800 => new lang_string('numminutes', '', 30),
54 900 => new lang_string('numminutes', '', 15),
55 300 => new lang_string('numminutes', '', 5))));
56$temp->add(new admin_setting_configtext('sessioncookie', new lang_string('sessioncookie', 'admin'), new lang_string('configsessioncookie', 'admin'), '', PARAM_ALPHANUM));
57$temp->add(new admin_setting_configtext('sessioncookiepath', new lang_string('sessioncookiepath', 'admin'), new lang_string('configsessioncookiepath', 'admin'), '', PARAM_RAW));
58$temp->add(new admin_setting_configtext('sessioncookiedomain', new lang_string('sessioncookiedomain', 'admin'), new lang_string('configsessioncookiedomain', 'admin'), '', PARAM_RAW, 50));
1caea91e 59$ADMIN->add('server', $temp);
1ea1bcb3 60
61
1ea1bcb3 62// "stats" settingpage
e106013f
SH
63$temp = new admin_settingpage('stats', new lang_string('stats'), 'moodle/site:config', empty($CFG->enablestats));
64$temp->add(new admin_setting_configselect('statsfirstrun', new lang_string('statsfirstrun', 'admin'), new lang_string('configstatsfirstrun', 'admin'), 'none', array('none' => new lang_string('none'),
65 60*60*24*7 => new lang_string('numweeks','moodle',1),
66 60*60*24*14 => new lang_string('numweeks','moodle',2),
67 60*60*24*21 => new lang_string('numweeks','moodle',3),
68 60*60*24*28 => new lang_string('nummonths','moodle',1),
69 60*60*24*56 => new lang_string('nummonths','moodle',2),
70 60*60*24*84 => new lang_string('nummonths','moodle',3),
71 60*60*24*112 => new lang_string('nummonths','moodle',4),
72 60*60*24*140 => new lang_string('nummonths','moodle',5),
73 60*60*24*168 => new lang_string('nummonths','moodle',6),
74 'all' => new lang_string('all') )));
75$temp->add(new admin_setting_configselect('statsmaxruntime', new lang_string('statsmaxruntime', 'admin'), new lang_string('configstatsmaxruntime3', 'admin'), 0, array(0 => new lang_string('untilcomplete'),
76 60*30 => '10 '.new lang_string('minutes'),
77 60*30 => '30 '.new lang_string('minutes'),
78 60*60 => '1 '.new lang_string('hour'),
79 60*60*2 => '2 '.new lang_string('hours'),
80 60*60*3 => '3 '.new lang_string('hours'),
81 60*60*4 => '4 '.new lang_string('hours'),
82 60*60*5 => '5 '.new lang_string('hours'),
83 60*60*6 => '6 '.new lang_string('hours'),
84 60*60*7 => '7 '.new lang_string('hours'),
85 60*60*8 => '8 '.new lang_string('hours') )));
86$temp->add(new admin_setting_configtext('statsruntimedays', new lang_string('statsruntimedays', 'admin'), new lang_string('configstatsruntimedays', 'admin'), 31, PARAM_INT));
e106013f 87$temp->add(new admin_setting_configtext('statsuserthreshold', new lang_string('statsuserthreshold', 'admin'), new lang_string('configstatsuserthreshold', 'admin'), 0, PARAM_INT));
eef868d1 88$ADMIN->add('server', $temp);
1ea1bcb3 89
90
91// "http" settingpage
e106013f
SH
92$temp = new admin_settingpage('http', new lang_string('http', 'admin'));
93$temp->add(new admin_setting_configcheckbox('slasharguments', new lang_string('slasharguments', 'admin'), new lang_string('configslasharguments', 'admin'), 1));
94$temp->add(new admin_setting_heading('reverseproxy', new lang_string('reverseproxy', 'admin'), '', ''));
3a4f0a34 95$options = array(
96 0 => 'HTTP_CLIENT_IP, HTTP_X_FORWARDED_FOR, REMOTE_ADDR',
97 GETREMOTEADDR_SKIP_HTTP_CLIENT_IP => 'HTTP_X_FORWARDED_FOR, REMOTE_ADDR',
98 GETREMOTEADDR_SKIP_HTTP_X_FORWARDED_FOR => 'HTTP_CLIENT, REMOTE_ADDR',
99 GETREMOTEADDR_SKIP_HTTP_X_FORWARDED_FOR|GETREMOTEADDR_SKIP_HTTP_CLIENT_IP => 'REMOTE_ADDR');
e106013f 100$temp->add(new admin_setting_configselect('getremoteaddrconf', new lang_string('getremoteaddrconf', 'admin'), new lang_string('configgetremoteaddrconf', 'admin'), 0, $options));
366b19a9 101
e106013f
SH
102$temp->add(new admin_setting_heading('webproxy', new lang_string('webproxy', 'admin'), new lang_string('webproxyinfo', 'admin')));
103$temp->add(new admin_setting_configtext('proxyhost', new lang_string('proxyhost', 'admin'), new lang_string('configproxyhost', 'admin'), '', PARAM_HOST));
104$temp->add(new admin_setting_configtext('proxyport', new lang_string('proxyport', 'admin'), new lang_string('configproxyport', 'admin'), 0, PARAM_INT));
5f8bdc17 105$options = array('HTTP'=>'HTTP');
106if (defined('CURLPROXY_SOCKS5')) {
107 $options['SOCKS5'] = 'SOCKS5';
108}
e106013f
SH
109$temp->add(new admin_setting_configselect('proxytype', new lang_string('proxytype', 'admin'), new lang_string('configproxytype','admin'), 'HTTP', $options));
110$temp->add(new admin_setting_configtext('proxyuser', new lang_string('proxyuser', 'admin'), new lang_string('configproxyuser', 'admin'), ''));
111$temp->add(new admin_setting_configpasswordunmask('proxypassword', new lang_string('proxypassword', 'admin'), new lang_string('configproxypassword', 'admin'), ''));
112$temp->add(new admin_setting_configtext('proxybypass', new lang_string('proxybypass', 'admin'), new lang_string('configproxybypass', 'admin'), 'localhost, 127.0.0.1'));
eef868d1 113$ADMIN->add('server', $temp);
1ea1bcb3 114
e106013f
SH
115$temp = new admin_settingpage('maintenancemode', new lang_string('sitemaintenancemode', 'admin'));
116$options = array(0=>new lang_string('disable'), 1=>new lang_string('enable'));
117$temp->add(new admin_setting_configselect('maintenance_enabled', new lang_string('sitemaintenancemode', 'admin'),
118 new lang_string('helpsitemaintenance', 'admin'), 0, $options));
119$temp->add(new admin_setting_confightmleditor('maintenance_message', new lang_string('optionalmaintenancemessage', 'admin'),
4fe2250a 120 '', ''));
121$ADMIN->add('server', $temp);
1ea1bcb3 122
e106013f
SH
123$temp = new admin_settingpage('cleanup', new lang_string('cleanup', 'admin'));
124$temp->add(new admin_setting_configselect('deleteunconfirmed', new lang_string('deleteunconfirmed', 'admin'), new lang_string('configdeleteunconfirmed', 'admin'), 168, array(0 => new lang_string('never'),
125 168 => new lang_string('numdays', '', 7),
126 144 => new lang_string('numdays', '', 6),
127 120 => new lang_string('numdays', '', 5),
128 96 => new lang_string('numdays', '', 4),
129 72 => new lang_string('numdays', '', 3),
130 48 => new lang_string('numdays', '', 2),
131 24 => new lang_string('numdays', '', 1),
132 12 => new lang_string('numhours', '', 12),
133 6 => new lang_string('numhours', '', 6),
134 1 => new lang_string('numhours', '', 1))));
135
136$temp->add(new admin_setting_configselect('deleteincompleteusers', new lang_string('deleteincompleteusers', 'admin'), new lang_string('configdeleteincompleteusers', 'admin'), 0, array(0 => new lang_string('never'),
137 168 => new lang_string('numdays', '', 7),
138 144 => new lang_string('numdays', '', 6),
139 120 => new lang_string('numdays', '', 5),
140 96 => new lang_string('numdays', '', 4),
141 72 => new lang_string('numdays', '', 3),
142 48 => new lang_string('numdays', '', 2),
143 24 => new lang_string('numdays', '', 1))));
144
e106013f
SH
145
146$temp->add(new admin_setting_configcheckbox('disablegradehistory', new lang_string('disablegradehistory', 'grades'),
147 new lang_string('disablegradehistory_help', 'grades'), 0));
148
149$temp->add(new admin_setting_configselect('gradehistorylifetime', new lang_string('gradehistorylifetime', 'grades'),
150 new lang_string('gradehistorylifetime_help', 'grades'), 0, array(0 => new lang_string('neverdeletehistory', 'grades'),
151 1000 => new lang_string('numdays', '', 1000),
152 365 => new lang_string('numdays', '', 365),
153 180 => new lang_string('numdays', '', 180),
154 150 => new lang_string('numdays', '', 150),
155 120 => new lang_string('numdays', '', 120),
156 90 => new lang_string('numdays', '', 90),
157 60 => new lang_string('numdays', '', 60),
158 30 => new lang_string('numdays', '', 30))));
1ee0df06 159
c35d736a
AG
160$temp->add(new admin_setting_configselect('tempdatafoldercleanup', new lang_string('tempdatafoldercleanup', 'admin'),
161 new lang_string('configtempdatafoldercleanup', 'admin'), 168, array(
162 1 => new lang_string('numhours', '', 1),
163 3 => new lang_string('numhours', '', 3),
164 6 => new lang_string('numhours', '', 6),
165 9 => new lang_string('numhours', '', 9),
166 12 => new lang_string('numhours', '', 12),
167 18 => new lang_string('numhours', '', 18),
168 24 => new lang_string('numhours', '', 24),
169 48 => new lang_string('numdays', '', 2),
170 168 => new lang_string('numdays', '', 7),
171)));
172
1ea1bcb3 173$ADMIN->add('server', $temp);
174
175
176
e106013f
SH
177$ADMIN->add('server', new admin_externalpage('environment', new lang_string('environment','admin'), "$CFG->wwwroot/$CFG->admin/environment.php"));
178$ADMIN->add('server', new admin_externalpage('phpinfo', new lang_string('phpinfo'), "$CFG->wwwroot/$CFG->admin/phpinfo.php"));
2bf67a74
VDF
179$ADMIN->add('server', new admin_externalpage('testoutgoingmailconf', new lang_string('testoutgoingmailconf', 'admin'),
180 new moodle_url("$CFG->wwwroot/$CFG->admin/testoutgoingmailconf.php"), 'moodle/site:config', true));
1ea1bcb3 181
182
4a575a65 183// "performance" settingpage
e106013f 184$temp = new admin_settingpage('performance', new lang_string('performance', 'admin'));
7022dd39 185
975f8442 186// Memory limit options for large administration tasks.
187$memoryoptions = array(
188 '64M' => '64M',
189 '128M' => '128M',
190 '256M' => '256M',
191 '512M' => '512M',
192 '1024M' => '1024M',
193 '2048M' => '2048M');
194
195// Allow larger memory usage for 64-bit sites only.
196if (PHP_INT_SIZE === 8) {
197 $memoryoptions['3072M'] = '3072M';
198 $memoryoptions['4096M'] = '4096M';
199}
200
e106013f
SH
201$temp->add(new admin_setting_configselect('extramemorylimit', new lang_string('extramemorylimit', 'admin'),
202 new lang_string('configextramemorylimit', 'admin'), '512M',
975f8442 203 $memoryoptions));
366b19a9 204$temp->add(new admin_setting_configtext('maxtimelimit', new lang_string('maxtimelimit', 'admin'),
205 new lang_string('maxtimelimit_desc', 'admin'), 0, PARAM_INT));
975f8442 206
e106013f
SH
207$temp->add(new admin_setting_configtext('curlcache', new lang_string('curlcache', 'admin'),
208 new lang_string('configcurlcache', 'admin'), 120, PARAM_INT));
1c980a57 209
e106013f
SH
210$temp->add(new admin_setting_configtext('curltimeoutkbitrate', new lang_string('curltimeoutkbitrate', 'admin'),
211 new lang_string('curltimeoutkbitrate_help', 'admin'), 56, PARAM_INT));
d6a1f63b 212
4a575a65 213$ADMIN->add('server', $temp);
214
1c980a57 215
4b71596f 216$ADMIN->add('server', new admin_category('taskconfig', new lang_string('taskadmintitle', 'admin')));
24bfd53c 217$temp = new admin_settingpage('taskprocessing', new lang_string('taskprocessing','admin'));
23d67562
AN
218$temp->add(
219 new admin_setting_configtext(
220 'task_scheduled_concurrency_limit',
221 new lang_string('task_scheduled_concurrency_limit', 'admin'),
222 new lang_string('task_scheduled_concurrency_limit_desc', 'admin'),
223 3,
224 PARAM_INT
225 )
226);
227
228$temp->add(
229 new admin_setting_configduration(
230 'task_scheduled_max_runtime',
231 new lang_string('task_scheduled_max_runtime', 'admin'),
232 new lang_string('task_scheduled_max_runtime_desc', 'admin'),
233 30 * MINSECS
234 )
235);
236
24bfd53c
AN
237$temp->add(
238 new admin_setting_configtext(
239 'task_adhoc_concurrency_limit',
240 new lang_string('task_adhoc_concurrency_limit', 'admin'),
241 new lang_string('task_adhoc_concurrency_limit_desc', 'admin'),
242 3,
243 PARAM_INT
244 )
245);
246
247$temp->add(
248 new admin_setting_configduration(
249 'task_adhoc_max_runtime',
250 new lang_string('task_adhoc_max_runtime', 'admin'),
251 new lang_string('task_adhoc_max_runtime_desc', 'admin'),
252 30 * MINSECS
253 )
254);
255$ADMIN->add('taskconfig', $temp);
256
4b71596f
AN
257$temp = new admin_settingpage('tasklogging', new lang_string('tasklogging','admin'));
258$temp->add(
259 new admin_setting_configselect(
260 'task_logmode',
261 new lang_string('task_logmode', 'admin'),
262 new lang_string('task_logmode_desc', 'admin'),
263 \core\task\logmanager::MODE_ALL,
264 [
265 \core\task\logmanager::MODE_ALL => new lang_string('task_logmode_all', 'admin'),
266 \core\task\logmanager::MODE_FAILONLY => new lang_string('task_logmode_failonly', 'admin'),
267 \core\task\logmanager::MODE_NONE => new lang_string('task_logmode_none', 'admin'),
268 ]
269 )
270);
271
272if (\core\task\logmanager::uses_standard_settings()) {
273 $temp->add(
274 new admin_setting_configduration(
275 'task_logretention',
276 new \lang_string('task_logretention', 'admin'),
277 new \lang_string('task_logretention_desc', 'admin'),
278 28 * DAYSECS
279 )
280 );
281
282 $temp->add(
283 new admin_setting_configtext(
284 'task_logretainruns',
285 new \lang_string('task_logretainruns', 'admin'),
286 new \lang_string('task_logretainruns_desc', 'admin'),
287 20,
288 PARAM_INT
289 )
290 );
4b71596f
AN
291}
292$ADMIN->add('taskconfig', $temp);
293
251ee97c 294if (\core\task\logmanager::uses_standard_settings()) {
8c69e86c
AN
295 $ADMIN->add('taskconfig', new admin_externalpage(
296 'tasklogs',
297 new lang_string('tasklogs','admin'),
298 "{$CFG->wwwroot}/{$CFG->admin}/tasklogs.php"
299 ));
300}
301
ff2abc4b 302// E-mail settings.
9715f61a
AG
303$ADMIN->add('server', new admin_category('email', new lang_string('categoryemail', 'admin')));
304
305$temp = new admin_settingpage('outgoingmailconfig', new lang_string('outgoingmailconfig', 'admin'));
306
307$temp->add(new admin_setting_heading('smtpheading', new lang_string('smtp', 'admin'),
308 new lang_string('smtpdetail', 'admin')));
309$temp->add(new admin_setting_configtext('smtphosts', new lang_string('smtphosts', 'admin'),
310 new lang_string('configsmtphosts', 'admin'), '', PARAM_RAW));
311$options = array('' => new lang_string('none', 'admin'), 'ssl' => 'SSL', 'tls' => 'TLS');
312$temp->add(new admin_setting_configselect('smtpsecure', new lang_string('smtpsecure', 'admin'),
313 new lang_string('configsmtpsecure', 'admin'), '', $options));
314$authtypeoptions = array('LOGIN' => 'LOGIN', 'PLAIN' => 'PLAIN', 'NTLM' => 'NTLM', 'CRAM-MD5' => 'CRAM-MD5');
315$temp->add(new admin_setting_configselect('smtpauthtype', new lang_string('smtpauthtype', 'admin'),
316 new lang_string('configsmtpauthtype', 'admin'), 'LOGIN', $authtypeoptions));
317$temp->add(new admin_setting_configtext('smtpuser', new lang_string('smtpuser', 'admin'),
318 new lang_string('configsmtpuser', 'admin'), '', PARAM_NOTAGS));
319$temp->add(new admin_setting_configpasswordunmask('smtppass', new lang_string('smtppass', 'admin'),
320 new lang_string('configsmtpuser', 'admin'), ''));
321$temp->add(new admin_setting_configtext('smtpmaxbulk', new lang_string('smtpmaxbulk', 'admin'),
322 new lang_string('configsmtpmaxbulk', 'admin'), 1, PARAM_INT));
323$temp->add(new admin_setting_heading('noreplydomainheading', new lang_string('noreplydomain', 'admin'),
324 new lang_string('noreplydomaindetail', 'admin')));
325$temp->add(new admin_setting_configtext('noreplyaddress', new lang_string('noreplyaddress', 'admin'),
066ec135 326 new lang_string('confignoreplyaddress', 'admin'), 'noreply@' . get_host_from_url($CFG->wwwroot), PARAM_EMAIL));
9715f61a
AG
327$temp->add(new admin_setting_configtextarea('allowedemaildomains',
328 new lang_string('allowedemaildomains', 'admin'),
329 new lang_string('configallowedemaildomains', 'admin'),
330 ''));
2bf67a74
VDF
331$url = new moodle_url('/admin/testoutgoingmailconf.php');
332$link = html_writer::link($url, get_string('testoutgoingmailconf', 'admin'));
333$temp->add(new admin_setting_heading('testoutgoinmailc', new lang_string('testoutgoingmailconf', 'admin'),
334 new lang_string('testoutgoingmaildetail', 'admin', $link)));
9715f61a
AG
335$temp->add(new admin_setting_heading('emaildoesnotfit', new lang_string('doesnotfit', 'admin'),
336 new lang_string('doesnotfitdetail', 'admin')));
337$charsets = get_list_of_charsets();
338unset($charsets['UTF-8']); // Not needed here.
339$options = array();
340$options['0'] = 'UTF-8';
341$options = array_merge($options, $charsets);
342$temp->add(new admin_setting_configselect('sitemailcharset', new lang_string('sitemailcharset', 'admin'),
343 new lang_string('configsitemailcharset','admin'), '0', $options));
344$temp->add(new admin_setting_configcheckbox('allowusermailcharset', new lang_string('allowusermailcharset', 'admin'),
345 new lang_string('configallowusermailcharset', 'admin'), 0));
346$temp->add(new admin_setting_configcheckbox('allowattachments', new lang_string('allowattachments', 'admin'),
347 new lang_string('configallowattachments', 'admin'), 1));
348$options = array('LF' => 'LF', 'CRLF' => 'CRLF');
349$temp->add(new admin_setting_configselect('mailnewline', new lang_string('mailnewline', 'admin'),
350 new lang_string('configmailnewline', 'admin'), 'LF', $options));
351
352$choices = array(new lang_string('never', 'admin'),
353 new lang_string('always', 'admin'),
354 new lang_string('onlynoreply', 'admin'));
355$temp->add(new admin_setting_configselect('emailfromvia', new lang_string('emailfromvia', 'admin'),
356 new lang_string('configemailfromvia', 'admin'), 1, $choices));
357
358$ADMIN->add('email', $temp);
359
2f5904d9 360// "update notifications" settingpage
4fb3a068
DM
361if (empty($CFG->disableupdatenotifications)) {
362 $temp = new admin_settingpage('updatenotifications', new lang_string('updatenotifications', 'core_admin'));
363 $temp->add(new admin_setting_configcheckbox('updateautocheck', new lang_string('updateautocheck', 'core_admin'),
364 new lang_string('updateautocheck_desc', 'core_admin'), 1));
365 $temp->add(new admin_setting_configselect('updateminmaturity', new lang_string('updateminmaturity', 'core_admin'),
366 new lang_string('updateminmaturity_desc', 'core_admin'), MATURITY_STABLE,
367 array(
368 MATURITY_ALPHA => new lang_string('maturity'.MATURITY_ALPHA, 'core_admin'),
369 MATURITY_BETA => new lang_string('maturity'.MATURITY_BETA, 'core_admin'),
370 MATURITY_RC => new lang_string('maturity'.MATURITY_RC, 'core_admin'),
371 MATURITY_STABLE => new lang_string('maturity'.MATURITY_STABLE, 'core_admin'),
372 )));
373 $temp->add(new admin_setting_configcheckbox('updatenotifybuilds', new lang_string('updatenotifybuilds', 'core_admin'),
374 new lang_string('updatenotifybuilds_desc', 'core_admin'), 0));
375 $ADMIN->add('server', $temp);
376}
2f5904d9 377
a559f630 378} // end of speedup