Merge branch 'w01_MDL-43585_m27_userlib' of https://github.com/skodak/moodle

This commit is contained in:
Damyon Wiese 2014-01-07 13:30:24 +08:00
commit 454fab1ac7

View File

@ -616,7 +616,6 @@ class auth_plugin_ldap extends auth_plugin_base {
if ($user->firstaccess == 0) { if ($user->firstaccess == 0) {
$user->firstaccess = time(); $user->firstaccess = time();
} }
require_once($CFG->dirroot.'/user/lib.php');
user_update_user($user, false); user_update_user($user, false);
return AUTH_CONFIRM_OK; return AUTH_CONFIRM_OK;
} }