From 74b345880dee1e1eaae7886f73c8dce0a04d1c45 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 26 Sep 2006 04:38:00 +0000 Subject: [PATCH] Changing error to notify so that it's not fatal (and doesn't leak server data) --- enrol/enrol.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +?> -- 2.39.5