Commit 1f33587ce841d21759d37c80ef85e1baa87c3c60

Authored by Etienne Pallier
1 parent 9ce3d94d
Exists in master and in 1 other branch dev

bugfixing...

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
src/Model/Table/LdapConnectionsTable.php
@@ -767,7 +767,7 @@ class LdapConnectionsTable extends AppTable @@ -767,7 +767,7 @@ class LdapConnectionsTable extends AppTable
767 ! ( $user_logged && !$this->_isUserAlreadyCached($user_logged) ) 767 ! ( $user_logged && !$this->_isUserAlreadyCached($user_logged) )
768 ) 768 )
769 return; 769 return;
770 - 770 + DEBUG && debug("User pas dans DB users");
771 771
772 //debug("C3"); 772 //debug("C3");
773 // Get all users from (fake)LDAP 773 // Get all users from (fake)LDAP
@@ -941,6 +941,9 @@ class LdapConnectionsTable extends AppTable @@ -941,6 +941,9 @@ class LdapConnectionsTable extends AppTable
941 // Update LDAP cache last update time (= NOW) 941 // Update LDAP cache last update time (= NOW)
942 $this->CONF->ldap_cache_last_update = date("Y-m-d H:i:s"); // 2019-05-28 03:25:34 942 $this->CONF->ldap_cache_last_update = date("Y-m-d H:i:s"); // 2019-05-28 03:25:34
943 $this->configurationsTable->save($this->CONF); 943 $this->configurationsTable->save($this->CONF);
  944 +
  945 + DEBUG && debug("CACHE (table users) mis à jour");
  946 + //exit;
944 947
945 } // _updateUsersCacheIfNeeded() 948 } // _updateUsersCacheIfNeeded()
946 949