mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-40613 auth_ldap: include necessary file for saving profile fields
This commit is contained in:
parent
2c977ceb29
commit
220ca688c1
1 changed files with 2 additions and 0 deletions
|
@ -668,6 +668,8 @@ class auth_plugin_ldap extends auth_plugin_base {
|
|||
function sync_users($do_updates=true) {
|
||||
global $CFG, $DB;
|
||||
|
||||
require_once($CFG->dirroot . '/user/profile/lib.php');
|
||||
|
||||
print_string('connectingldap', 'auth_ldap');
|
||||
$ldapconnection = $this->ldap_connect();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue