From 1f33587ce841d21759d37c80ef85e1baa87c3c60 Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Thu, 16 Sep 2021 12:15:44 +0200 Subject: [PATCH] bugfixing... --- src/Model/Table/LdapConnectionsTable.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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