From 7b20cd9666ccfce12bc59aad57188d91734ef806 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 30 Mar 2020 14:56:01 +0200 Subject: [PATCH] Remove deprecated interval --- assets/js/common/system.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/assets/js/common/system.js b/assets/js/common/system.js index 62b2ad8d..b7a09ec1 100644 --- a/assets/js/common/system.js +++ b/assets/js/common/system.js @@ -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; },