Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-25614 add missing group lib

  • Loading branch information...
commit 59186c92b3b3bce4d8228b5848e1e0d48a960d97 1 parent 77fb018
@skodak skodak authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  admin/uploaduser.php
View
3  admin/uploaduser.php
@@ -7,6 +7,7 @@
require_once($CFG->libdir.'/adminlib.php');
require_once($CFG->libdir.'/csvlib.class.php');
require_once($CFG->dirroot.'/user/profile/lib.php');
+require_once($CFG->dirroot.'/group/lib.php');
require_once('uploaduser_form.php');
$iid = optional_param('iid', '', PARAM_INT);
@@ -528,7 +529,7 @@
$DB->update_record('user', $existinguser);
//remove user preference
-
+
if (get_user_preferences('create_password', false, $existinguser)) {
unset_user_preference('create_password', $existinguser);
}
Please sign in to comment.
Something went wrong with that request. Please try again.