You are here

function webform_disable_page_cache in Webform 6.3

Same name and namespace in other branches
  1. 7.4 webform.module \webform_disable_page_cache()
  2. 7.3 webform.module \webform_disable_page_cache()

Disable the Drupal page cache.

3 calls to webform_disable_page_cache()
webform_results_submissions in includes/webform.report.inc
Retrieve lists of submissions for a given webform.
webform_submission_access in ./webform.module
webform_submission_page in includes/webform.submissions.inc
Menu callback; Present a Webform submission page for display or editing.

File

./webform.module, line 3414

Code

function webform_disable_page_cache() {

  // PressFlow and Drupal 7 method.
  if (function_exists('drupal_page_is_cacheable')) {
    drupal_page_is_cacheable(FALSE);
  }
  else {
    $GLOBALS['conf']['cache'] = CACHE_DISABLED;
  }
}