- add #user_cache.cache_update_time - useful for plugins or the filter when it is not possible/desirable to cache/calculate data specific to the user when pwg core does it; note that this opens the possibility to implement a data cache (file/shared mem/ etc...) for every user (for very large databases)

git-svn-id: http://piwigo.org/svn/trunk@2448 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2008-07-22 10:32:25 +00:00
parent ecc5ee46fa
commit 4322abb39f
5 changed files with 69 additions and 38 deletions

View File

@@ -22,19 +22,6 @@
// +-----------------------------------------------------------------------+
/**
* Get a check key for filtered data
* Check key are composed of elements witch force to compute data
*
* @param null
* @return strinf check_key
*/
function get_filter_check_key()
{
global $user, $filter;
return $user['id'].$filter['recent_period'].date('Ymd');
}
/**
* update data of categories with filtered values