mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 10:18:06 +02:00
Formatting fixes.
This commit is contained in:
1 parent
a32c923aaa
commit
fdd5569324
2 files changed
-2
No files matched your search
@@ -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