You are here

function addthis_flush_services in AddThis 6.3

Flush the services cache.

1 string reference to 'addthis_flush_services'
addthis_menu in ./addthis.module
Implementation of hook_menu().

File

./addthis.admin.inc, line 279
Configuration settings for AddThis.

Code

function addthis_flush_services() {
  cache_clear_all('addthis:services', 'cache');
  if (_addthis_services_list()) {
    drupal_set_message(t('The list of AddThis services has been refreshed.'));
  }
  drupal_goto();
}