You are here

restws.install in RESTful Web Services 7.2

Same filename and directory in other branches
  1. 7 restws.install

Install, update, and uninstall functions for the RESTWS module.

File

restws.install
View source
<?php

/**
 * @file
 * Install, update, and uninstall functions for the RESTWS module.
 */

/**
 * Clear the page cache to throw out any RESTWS responses that could be
 * delivered on HTML requests.
 */
function restws_update_7001() {
  cache_clear_all(NULL, 'cache_page');
}

/**
 * Empty update to force a cache clear.
 */
function restws_update_7002() {
}

Functions

Namesort descending Description
restws_update_7001 Clear the page cache to throw out any RESTWS responses that could be delivered on HTML requests.
restws_update_7002 Empty update to force a cache clear.