From: moodler Date: Tue, 26 Sep 2006 04:38:00 +0000 (+0000) Subject: Changing error to notify so that it's not fatal (and doesn't leak server data) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=74b345880dee1e1eaae7886f73c8dce0a04d1c45;p=moodle.git Changing error to notify so that it's not fatal (and doesn't leak server data) --- diff --git a/enrol/enrol.class.php b/enrol/enrol.class.php index 180a696be3..97ba121930 100644 --- a/enrol/enrol.class.php +++ b/enrol/enrol.class.php @@ -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"); } } } -?> \ No newline at end of file +?>