| 1 |
<?php |
<?php |
| 2 |
// $Id: ldapdata.module,v 1.28 2009/03/31 14:12:55 miglius Exp $ |
// $Id: ldapdata.module,v 1.29 2009/07/28 14:03:05 miglius Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 294 |
watchdog('ldapdata', "User update: user %name's data could not be updated in the LDAP directory", array('%name' => $user->name), WATCHDOG_NOTICE); |
watchdog('ldapdata', "User update: user %name's data could not be updated in the LDAP directory", array('%name' => $user->name), WATCHDOG_NOTICE); |
| 295 |
return; |
return; |
| 296 |
} |
} |
| 297 |
$_ldapdata_ldap->writeAttributes($user->ldap_dn, $writeout); |
if (!($_ldapdata_ldap->writeAttributes($user->ldap_dn, $writeout))) { |
| 298 |
|
drupal_set_message(t('The data was not written to LDAP.'), 'error'); |
| 299 |
|
} |
| 300 |
} |
} |
| 301 |
$_ldapdata_ldap->disconnect(); |
$_ldapdata_ldap->disconnect(); |
| 302 |
} |
} |