diff options
author | M.Gergo | 2020-03-24 05:01:16 +0100 |
---|---|---|
committer | M.Gergo | 2020-03-24 05:01:16 +0100 |
commit | 16626ba293babee3cd822e08021c7334282a8a6b (patch) | |
tree | ff12aea69cb26a9bfb9c444c0652f0fe59bb6804 /egyéb/nextcloud/mayor-nextcloud.php | |
parent | c066cf10fb9243c58645ba731d63c8fc41cdc658 (diff) | |
download | mayor-m2n/v3.2.tar.gz mayor-m2n/v3.2.zip |
Mayor-Nextcloud script: Csoprtokm2n/v3.2
Diffstat (limited to 'egyéb/nextcloud/mayor-nextcloud.php')
-rw-r--r-- | egyéb/nextcloud/mayor-nextcloud.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/egyéb/nextcloud/mayor-nextcloud.php b/egyéb/nextcloud/mayor-nextcloud.php index 326ab1f5..411ca2ca 100644 --- a/egyéb/nextcloud/mayor-nextcloud.php +++ b/egyéb/nextcloud/mayor-nextcloud.php @@ -638,6 +638,7 @@ if (function_exists('mysqli_connect') and PHP_MAJOR_VERSION >= 7) { //MySQLi (Im ))); } } + // usort($mayor_user, "mayor_userlistcmp"); // előbb rendezzük $mayor_user = array_merge($mayor_user, array(array('userAccount' => null, 'fullName' => null, 'tankorNev' => null,)) ); //strázsa a lista végére $nxt_user = nxt_user_list(); $nxt_group = nxt_group_list(); @@ -658,7 +659,7 @@ if (function_exists('mysqli_connect') and PHP_MAJOR_VERSION >= 7) { //MySQLi (Im $tankorei = array(); foreach($mayor_user as $key => $val){ //Végignézi a mayorból kinyert lista alapján. - if($curr != $val['userAccount']){ //Először felhasználónként egyet lépkedünk + if($curr != $val['userAccount']){ //CSAK Rendezett tömbökön !! foreach($nxt_user as $key2 => $val2){ if($curr == $key2){ //Már létezik a felhasználó a Nextcloud-ban $log['curr'] = "-\tFelhasználó:".po("\t$curr_n ($curr)",$m2n['felhasznalo_hossz'],1)."--\tok.\n"; |