Skip to content
Permalink
Browse files

Merge branch 'MDL-28387-m21' of git://github.com/ankitagarwal/moodle …

…into MOODLE_21_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Mar 6, 2012
2 parents 960b382 + eb2cbfc commit ce0e7afd404a74889cca687eec73197747472850
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/moodlelib.php
@@ -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);

0 comments on commit ce0e7af

Please sign in to comment.
You can’t perform that action at this time.