mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Formatting fixes.
This commit is contained in:
@@ -105,7 +105,6 @@ class outagedb {
|
||||
$outage->autostart = 0;
|
||||
}
|
||||
|
||||
|
||||
if ($outage->id === null) {
|
||||
// If new outage, set its creator.
|
||||
$outage->createdby = $USER->id;
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user