1
0
This commit is contained in:
Daniel Tartavel 2019-09-03 01:08:35 +02:00
parent 8ae7331484
commit 5c8cb89ea9

View File

@ -26,7 +26,7 @@ function concat ($a, $b)
} }
$flag = 0; $flag = 0;
$data = array("displayname"=>array("value"=>"","scope"=>"contacts","verified"=>"0"),"address"=>array("value"=>"[adresse]","scope"=>"private","verified"=>"0"),"website"=>array("value"=>"[website]","scope"=>"private","verified"=>"0"),"email"=>array("value"=>"","scope"=>"contacts","verified"=>"1"),"avatar"=>array("scope"=>"contacts","verified"=>"0"),"phone"=>array("value"=>"","scope"=>"private","verified"=>"0"),"twitter"=>array("value"=>"","scope"=>"private","verified"=>"0")); $data = array("displayname"=>array("value"=>"","scope"=>"contacts","verified"=>"0"),"address"=>array("value"=>"[adresse]","scope"=>"private","verified"=>"0"),"website"=>array("value"=>"","scope"=>"private","verified"=>"0"),"email"=>array("value"=>"","scope"=>"contacts","verified"=>"1"),"avatar"=>array("scope"=>"contacts","verified"=>"0"),"phone"=>array("value"=>"","scope"=>"private","verified"=>"0"),"twitter"=>array("value"=>"","scope"=>"private","verified"=>"0"));
$doldb = new db("dolibarr"); $doldb = new db("dolibarr");
$ncdb = new db("nextcloud"); $ncdb = new db("nextcloud");
@ -97,8 +97,8 @@ while ($user = $doldb->result->fetch_assoc())
echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error; echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error;
} }
} }
$ncdb->result->close(); //$ncdb->result->close();
if ($flag > 7) exit; if ($flag > 8) exit;
} }
$doldb->result->close(); //$doldb->result->close();
?> ?>