mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-05 13:02:48 +02:00
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user