restws.install in RESTful Web Services 7.2
Same filename and directory in other branches
Install, update, and uninstall functions for the RESTWS module.
File
restws.installView 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
Name | 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. |