mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
Changing error to notify so that it's not fatal (and doesn't leak server data)
This commit is contained in:
parent
867f5adb73
commit
74b345880d
@ -16,9 +16,9 @@ class enrolment_factory {
|
||||
return new $class;
|
||||
} else {
|
||||
trigger_error("$CFG->dirroot/enrol/$enrol/enrol.php does not exist");
|
||||
error("$CFG->dirroot/enrol/$enrol/enrol.php does not exist");
|
||||
notify("Enrolment file $enrol/enrol.php does not exist");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user