Skip to content

Commit

Permalink
Merge branch 'MDL-50092_master' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed May 18, 2015
2 parents d597f85 + 7093144 commit 4bd7eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enrol/imsenterprise/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ protected function process_person_tag($tagcontents) {

if ($imsdeleteusers) { // If we're allowed to delete user records.
// Do not dare to hack the user.deleted field directly in database!!!
$params = array('username' => $person->username, 'mnethostid' => $CFG->mnet_localhost_id, 'deleted ' => 0);
$params = array('username' => $person->username, 'mnethostid' => $CFG->mnet_localhost_id, 'deleted' => 0);
if ($user = $DB->get_record('user', $params)) {
if (delete_user($user)) {
$this->log_line("Deleted user '$person->username' (ID number $person->idnumber).");
Expand Down

0 comments on commit 4bd7eb6

Please sign in to comment.