DT
This commit is contained in:
parent
b09fd4aae5
commit
adb815289e
@ -81,23 +81,23 @@ while ($user = $doldb->result->fetch_assoc())
|
|||||||
$oc_preferences_query_email = "INSERT INTO oc_preferences(userid, appid, configkey, configvalue) VALUES ('" . $user["login"] . "', 'settings', 'email', '" . $user["email"] . "')";
|
$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;
|
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)
|
if (! ($r = $ncdb->query($oc_account_query)))
|
||||||
{
|
{
|
||||||
echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error;
|
echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error;
|
||||||
}
|
}
|
||||||
if ($ncdb->query($oc_users_query)!==TRUE)
|
if (! ($r = $ncdb->query($oc_users_query))
|
||||||
{
|
{
|
||||||
echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error;
|
echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error;
|
||||||
}
|
}
|
||||||
if ($ncdb->query($oc_group_user_query)!==TRUE)
|
if (! ($r = $ncdb->query($oc_group_user_query)))
|
||||||
{
|
{
|
||||||
echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error;
|
echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error;
|
||||||
}
|
}
|
||||||
if ($ncdb->query($oc_preferences_query_quota)!==TRUE)
|
if (! ($r = $ncdb->query($oc_preferences_query_quota)))
|
||||||
{
|
{
|
||||||
echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error;
|
echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error;
|
||||||
}
|
}
|
||||||
if ($ncdb->query($oc_preferences_query_email)!==TRUE)
|
if (! ($r = $ncdb->query($oc_preferences_query_email)))
|
||||||
{
|
{
|
||||||
echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error;
|
echo "Echec lors de la requete : (" . $ncdb->connect->errno . ") " . $ncdb->connect->error;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user