From e17fe5ddbf0ee31d9286c8244e62b3265be0695a Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Tue, 3 Sep 2019 01:38:20 +0200 Subject: [PATCH] DT --- nconnector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nconnector.php b/nconnector.php index daa251b..d951032 100755 --- a/nconnector.php +++ b/nconnector.php @@ -80,7 +80,7 @@ while ($user = $doldb->result->fetch_assoc()) $oc_preferences_query_quota = "INSERT INTO oc_preferences(userid, appid, configkey, configvalue) VALUES ('" . $user["login"] . "', 'files', 'quota', '10 GB')"; $oc_preferences_query_email = "INSERT INTO oc_preferences(userid, appid, configkey, configvalue) VALUES ('" . $user["login"] . "', 'settings', 'email', '" . $user["email"] . "')"; echo $account_data . EOL . $oc_account_query . EOL . $oc_users_query .EOL . $oc_group_user_query . EOL . $oc_preferences_query_quota . EOL . $oc_preferences_query_email . EOL; -/* + if ($ncdb->query($oc_account_query)!==true) { echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error; @@ -100,7 +100,7 @@ while ($user = $doldb->result->fetch_assoc()) if ($ncdb->query($oc_preferences_query_email)!==true) { echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error; - }*/ + } } //$ncdb->result->close(); if ($flag > 9) exit;