1
0
This commit is contained in:
Daniel Tartavel 2019-09-02 22:57:35 +02:00
parent e0ab3c0e64
commit 57b1ac7d9e

View File

@ -51,8 +51,8 @@ while ($user = $doldb->result->fetch_assoc())
$oc_group_user_query = "INSERT INTO oc_group_user(uid, gid) VALUES ('" . $user["login"] . "','" . $gid . "')";
$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"] . "')";
$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))