Changing error to notify so that it's not fatal (and doesn't leak server data)

This commit is contained in:
moodler 2006-09-26 04:38:00 +00:00
parent 867f5adb73
commit 74b345880d

View File

@ -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");
}
}
}
?>
?>