You are here

function agenda_clear in Agenda 6.2

Same name and namespace in other branches
  1. 6 agenda.admin.php \agenda_clear()
  2. 7.2 agenda.admin.php \agenda_clear()
  3. 7 agenda.admin.php \agenda_clear()

Agenda clear cache

1 string reference to 'agenda_clear'
agenda_menu in ./agenda.module
Implementation of hook_menu().

File

./agenda.admin.php, line 499
Administration interface for the agenda module

Code

function agenda_clear($bid) {
  drupal_set_message(t('Cache cleared for agenda block'));
  cache_clear_all('agenda_block_' . $bid, 'cache');
  drupal_goto('admin/settings/agenda');
}