MDL-43585 remove incorrect user/lib.php include
authorPetr Škoda <commits@skodak.org>
Tue, 7 Jan 2014 04:16:02 +0000 (12:16 +0800)
committerPetr Škoda <commits@skodak.org>
Tue, 7 Jan 2014 04:16:02 +0000 (12:16 +0800)
auth/ldap/auth.php

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