From b07646fcf7946188ea1b9ebaa06dfcd970ff5c70 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Mon, 9 Jan 2012 13:57:06 +1300 Subject: [PATCH] MDL-30928 lib: Fixed whitespace --- lib/moodlelib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 6477c45a00e..6073fc1b067 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -3794,7 +3794,7 @@ function delete_user($user) { $updateuser->timemodified = time(); $DB->update_record('user', $updateuser); - + // We will update the user's timemodified, as it will be passed to the user_deleted event, which // should know about this updated property persisted to the user's table. $user->timemodified = $updateuser->timemodified; @@ -4281,11 +4281,11 @@ function delete_course($courseorid, $showfeedback = true) { // delete the course and related context instance delete_context(CONTEXT_COURSE, $courseid); - + // We will update the course's timemodified, as it will be passed to the course_deleted event, // which should know about this updated property, as this event is meant to pass the full course record $course->timemodified = time(); - + $DB->delete_records("course", array("id"=>$courseid)); //trigger events