Permalink
Browse files

Tell insert record we don't care about inserted id

  • Loading branch information...
1 parent 8b7291e commit 29ad8bfe68572f9751ea362c1b31303fdc8687d3 martinlanghoff committed Aug 16, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moodlelib.php
View
@@ -1550,7 +1550,7 @@ function set_send_count($user,$reset=false) {
$pref->name = 'email_send_count';
$pref->value = 1;
$pref->userid = $user->id;
- insert_record('user_preferences',$pref);
+ insert_record('user_preferences',$pref, false);
}
}
@@ -1568,7 +1568,7 @@ function set_bounce_count($user,$reset=false) {
$pref->name = 'email_bounce_count';
$pref->value = 1;
$pref->userid = $user->id;
- insert_record('user_preferences',$pref);
+ insert_record('user_preferences',$pref, false);
}
}

0 comments on commit 29ad8bf

Please sign in to comment.