/[drupal]/contributions/modules/advcache/advcache.module
ViewVC logotype

Diff of /contributions/modules/advcache/advcache.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.11 by mikejoconnor, Thu Feb 26 13:39:12 2009 UTC revision 1.11.2.1 by mikejoconnor, Thu Feb 26 14:07:09 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: advcache.module,v 1.1.2.10 2009/02/26 13:02:45 mikejoconnor Exp $  // $Id: advcache.module,v 1.11 2009/02/26 13:39:12 mikejoconnor Exp $
3    
4  function advcache_taxonomy($op, $type, $object=NULL) {  function advcache_taxonomy($op, $type, $object=NULL) {
5    if (is_null($object)) {    if (is_null($object)) {
# Line 84  function advcache_comment($a1, $op) { Line 84  function advcache_comment($a1, $op) {
84        break;        break;
85    }    }
86  }  }
87    
88  function advcache_devel_caches() {  function advcache_devel_caches() {
89    return array('cache_advcache_block', 'cache_comment', 'cache_forum', 'cache_node', 'cache_path', 'cache_search', 'cache_taxonomy');    return array('cache_advcache_block', 'cache_comment', 'cache_forum', 'cache_node', 'cache_path', 'cache_search', 'cache_taxonomy');
90  }  }
91    
92    /**
93     * Implementation of hook_exit().
94     *
95     * Call the caching code now resident in drupal_path_lookup(). This will only set the cache if
96     * it was dirtied curing this pageload, or not found for the current request_uri.
97     */
98    function advcache_exit() {
99      drupal_lookup_path('cache');
100    }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.11.2.1

  ViewVC Help
Powered by ViewVC 1.1.3