Remove deprecated interval

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

View File

@ -92,15 +92,6 @@ ComunicWeb.common.system = {
*/ */
ComunicWeb.user.userLogin.refreshLoginState(afterLoginRefresh); 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 //Success
return true; return true;
}, },