Ignore:
Timestamp:
Jul 22, 2008, 12:32:25 PM (16 years ago)
Author:
rvelices
Message:
  • 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)
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1 local
        2 gal2
        3 feed.xml
        4 testmail
        5 phpmv2
        61map.php
        72upgrade65.log
        8 fstats
        93_data
  • trunk/include

    • Property svn:ignore
      •  

        old new  
        11mysql.inc.php
        22config_local.inc.php
        3 config_local.inc.bak.php
  • trunk/include/functions_filter.inc.php

    r2324 r2448  
    2323
    2424
    25 /**
    26  * Get a check key for filtered data
    27  * Check key are composed of elements witch force to compute data
    28  *
    29  * @param null
    30  * @return strinf check_key
    31  */
    32 function get_filter_check_key()
    33 {
    34   global $user, $filter;
    35 
    36   return $user['id'].$filter['recent_period'].date('Ymd');
    37 }
    3825
    3926/**
Note: See TracChangeset for help on using the changeset viewer.