From: tjhunt Date: Wed, 20 Sep 2006 16:36:40 +0000 (+0000) Subject: Another typo. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=df44078448b07821dfff65c4b86312d160696492;p=moodle.git Another typo. A pity, I would love to know what a delect_records function did ;-) --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 150279356e..6443057425 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -2870,8 +2870,8 @@ function reset_course_userdata($data, $showfeedback=true) { // deletes all role assignments, and local override, these have no courseid in table and needs separate process $context = get_context_instance(CONTEXT_COURSE, $data->courseid); - delect_records('role_assignments', 'contextid', $context->id); - delect_records('role_role_capabilities', 'contextid', $context->id); + delete_records('role_assignments', 'contextid', $context->id); + delete_records('role_role_capabilities', 'contextid', $context->id); return $result; }