Skip to content

Commit

Permalink
Merge branch 'MDL-28387-m21' of git://github.com/ankitagarwal/moodle …
Browse files Browse the repository at this point in the history
…into MOODLE_21_STABLE
  • Loading branch information
Sam Hemelryk committed Mar 6, 2012
2 parents 960b382 + eb2cbfc commit ce0e7af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/moodlelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -3495,6 +3495,9 @@ function delete_user($user) {
$updateuser->timemodified = time();

$DB->update_record('user', $updateuser);
// Add this action to log
add_to_log(SITEID, 'user', 'delete', "view.php?id=$user->id", $user->firstname.' '.$user->lastname);


// notify auth plugin - do not block the delete even when plugin fails
$authplugin = get_auth_plugin($user->auth);
Expand Down

0 comments on commit ce0e7af

Please sign in to comment.