DT
This commit is contained in:
parent
1a9937ad5c
commit
e6ee934606
@ -20,7 +20,7 @@ $ncdb = new db("nextcloud");
|
|||||||
$doldb->query("SELECT login, firstname, lastname, pass_crypted, fk_adherent_type FROM llx_adherent");
|
$doldb->query("SELECT login, firstname, lastname, pass_crypted, fk_adherent_type FROM llx_adherent");
|
||||||
while ($user = $doldb->result->fetch_assoc())
|
while ($user = $doldb->result->fetch_assoc())
|
||||||
{
|
{
|
||||||
$ncdb->query("SELECT uid FROM oc_accounts WHERE uid=('" . $user["login"] . "'");
|
$ncdb->query("SELECT uid FROM oc_accounts WHERE uid='" . $user["login"] . "'");
|
||||||
echo "login:" . ($user["login"]);
|
echo "login:" . ($user["login"]);
|
||||||
if ( $ncdb->result->num_rows != 0 )
|
if ( $ncdb->result->num_rows != 0 )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user