/[drupal]/contributions/modules/ldap_integration/ldapdata.module
ViewVC logotype

Diff of /contributions/modules/ldap_integration/ldapdata.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.29, Tue Jul 28 14:03:05 2009 UTC revision 1.30, Tue Aug 25 14:17:59 2009 UTC
# Line 1  Line 1 
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
# Line 294  function _ldapdata_user_submit(&$edit, & Line 294  function _ldapdata_user_submit(&$edit, &
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  }  }

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.2