mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Remove deprecated interval
This commit is contained in:
		@@ -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;
 | 
			
		||||
	},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user