diff --git a/src/Model/Table/LdapConnectionsTable.php b/src/Model/Table/LdapConnectionsTable.php index 7172fc0..196897a 100644 --- a/src/Model/Table/LdapConnectionsTable.php +++ b/src/Model/Table/LdapConnectionsTable.php @@ -767,7 +767,7 @@ class LdapConnectionsTable extends AppTable ! ( $user_logged && !$this->_isUserAlreadyCached($user_logged) ) ) return; - + DEBUG && debug("User pas dans DB users"); //debug("C3"); // Get all users from (fake)LDAP @@ -941,6 +941,9 @@ class LdapConnectionsTable extends AppTable // Update LDAP cache last update time (= NOW) $this->CONF->ldap_cache_last_update = date("Y-m-d H:i:s"); // 2019-05-28 03:25:34 $this->configurationsTable->save($this->CONF); + + DEBUG && debug("CACHE (table users) mis à jour"); + //exit; } // _updateUsersCacheIfNeeded() -- libgit2 0.21.2