Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15b726d
)
MDL-40436: auth_ldap: Fixed warning when adding new LDAP users
author
Tim Lock
<tim.lock@netspot.com.au>
Thu, 27 Jun 2013 00:52:28 +0000
(10:22 +0930)
committer
Damyon Wiese
<damyon@moodle.com>
Mon, 8 Jul 2013 14:57:25 +0000
(22:57 +0800)
auth/ldap/auth.php
patch
|
blob
|
blame
|
history
diff --git
a/auth/ldap/auth.php
b/auth/ldap/auth.php
index
314e5be
..
4eed099
100644
(file)
--- a/
auth/ldap/auth.php
+++ b/
auth/ldap/auth.php
@@
-914,7
+914,7
@@
class auth_plugin_ldap extends auth_plugin_base {
$id = $DB->insert_record('user', $user);
echo "\t"; print_string('auth_dbinsertuser', 'auth_db', array('name'=>$user->username, 'id'=>$id)); echo "\n";
- $euser = $DB->get_record('user', array('id' => $
user->
id));
+ $euser = $DB->get_record('user', array('id' => $id));
events_trigger('user_created', $euser);
if (!empty($this->config->forcechangepassword)) {
set_user_preference('auth_forcepasswordchange', 1, $id);