/[dolibarr]/dolibarr/scripts/ldap-update-allcontact.php
ViewVC logotype

Diff of /dolibarr/scripts/ldap-update-allcontact.php

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

revision 1.1 by rodolphe, Mon Aug 8 13:36:56 2005 UTC revision 1.2 by rodolphe, Mon Aug 8 13:38:16 2005 UTC
# Line 39  if ( $resql ) Line 39  if ( $resql )
39    $num = $db->num_rows($resql);    $num = $db->num_rows($resql);
40    $i = 0;    $i = 0;
41        
42    if ($num == 1)    while ($i < $num)
43      {      {
44        $row = $db->fetch_row($resql);        $row = $db->fetch_row($resql);
45    
46          print "Mise à jour $row[0]\n";
47    
48        $contact = new Contact($db);        $contact = new Contact($db);
49        $contact->id = $row[0];        $contact->id = $row[0];
50        $contact->update_ldap($user);        $contact->update_ldap($user);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26