1
0
mirror of https://github.com/pierre42100/ComunicWeb synced 2025-04-09 03:00:53 +00:00

Remove deprecated interval

This commit is contained in:
Pierre HUBERT 2020-03-30 14:56:01 +02:00
parent 45b2bcda9c
commit 7b20cd9666

@ -92,15 +92,6 @@ ComunicWeb.common.system = {
*/
ComunicWeb.user.userLogin.refreshLoginState(afterLoginRefresh);
/**
* Automaticaly refresh login state
*/
// TODO : remove when websockets are implemented
var autoRefresh = setInterval((function(){
ComunicWeb.user.userLogin.refreshLoginState();
}), 25000);
ComunicWeb.common.cacheManager.registerInterval(autoRefresh);
//Success
return true;
},