MDL-30928 lib: Fixed whitespace

This commit is contained in:
Sam Hemelryk 2012-01-09 13:57:06 +13:00
parent 1bec282c06
commit b07646fcf7

View file

@ -3794,7 +3794,7 @@ function delete_user($user) {
$updateuser->timemodified = time(); $updateuser->timemodified = time();
$DB->update_record('user', $updateuser); $DB->update_record('user', $updateuser);
// We will update the user's timemodified, as it will be passed to the user_deleted event, which // 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. // should know about this updated property persisted to the user's table.
$user->timemodified = $updateuser->timemodified; $user->timemodified = $updateuser->timemodified;
@ -4281,11 +4281,11 @@ function delete_course($courseorid, $showfeedback = true) {
// delete the course and related context instance // delete the course and related context instance
delete_context(CONTEXT_COURSE, $courseid); delete_context(CONTEXT_COURSE, $courseid);
// We will update the course's timemodified, as it will be passed to the course_deleted event, // 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 // which should know about this updated property, as this event is meant to pass the full course record
$course->timemodified = time(); $course->timemodified = time();
$DB->delete_records("course", array("id"=>$courseid)); $DB->delete_records("course", array("id"=>$courseid));
//trigger events //trigger events