You are here

function _remote_endpoint_cache_clear in Deploy - Content Staging 7.3

Action service callback.

1 string reference to '_remote_endpoint_cache_clear'
deploy_remote_cc_services_resources in modules/deploy_remote_cc/deploy_remote_cc.module
Implements hook_services_resources().

File

modules/deploy_remote_cc/deploy_remote_cc.module, line 79
Remote Cache clear module.

Code

function _remote_endpoint_cache_clear($user) {
  drupal_flush_all_caches();
  watchdog('deploy_remote_cc', 'All remote caches cleared by user %name', array(
    '%name' => $user,
  ));
  return TRUE;
}