mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Added cache system
This commit is contained in:
@ -200,4 +200,19 @@ ComunicWeb.user.userInfos = {
|
||||
afterNames(usersName);
|
||||
});
|
||||
},
|
||||
}
|
||||
|
||||
/**
|
||||
* Empty users cache
|
||||
*
|
||||
* @return {Boolean} True for a success
|
||||
*/
|
||||
emptyCache: function(){
|
||||
this.usersInfos = {};
|
||||
|
||||
//Success
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
//Register cache cleaner
|
||||
ComunicWeb.common.cacheManager.registerCacheCleaner("ComunicWeb.user.userInfos.emptyCache");
|
Reference in New Issue
Block a user