Formatting fixes.

This commit is contained in:
abhinavgandham
2026-01-15 14:10:23 +10:00
parent a32c923aaa
commit fdd5569324
2 changed files with 0 additions and 2 deletions

View File

@@ -105,7 +105,6 @@ class outagedb {
$outage->autostart = 0;
}
if ($outage->id === null) {
// If new outage, set its creator.
$outage->createdby = $USER->id;

View File

@@ -48,7 +48,6 @@ class edit extends moodleform {
$mform->addElement('hidden', 'id');
$mform->setType('id', PARAM_INT);
if (get_config('auth_outage', 'default_autostart') !== '2') {
$mform->addElement('checkbox', 'autostart', get_string('autostart', 'auth_outage'));
$mform->addHelpButton('autostart', 'autostart', 'auth_outage');