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

Diff of /contributions/modules/content_refresh/content_refresh.module

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

revision 1.5, Wed Sep 10 20:17:57 2008 UTC revision 1.6, Wed Sep 10 20:53:57 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: content_refresh.module,v 1.4 2008/09/05 22:46:14 yaph Exp $  // $Id: content_refresh.module,v 1.5 2008/09/10 20:17:57 yaph Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 68  function content_refresh_nodeapi(&$node, Line 68  function content_refresh_nodeapi(&$node,
68        cache_clear_all($url, 'cache_page');        cache_clear_all($url, 'cache_page');
69      }      }
70    
71      if ($clear_comment_page) {      if ($clear_comment_page && module_exists('comment')) {
72        $url = url('comment/reply/'. $node->nid, array('absolute' => TRUE));        $url = url('comment/reply/'. $node->nid, array('absolute' => TRUE));
73        cache_clear_all($url, 'cache_page');        cache_clear_all($url, 'cache_page', TRUE);
74      }      }
75    
76      if ($clear_front && variable_get('content_refresh_clear_front_page_cache', 1)) {      if ($clear_front && variable_get('content_refresh_clear_front_page_cache', 1)) {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.2