function agenda_clear in Agenda 7.2
Same name and namespace in other branches
- 6.2 agenda.admin.php \agenda_clear()
- 6 agenda.admin.php \agenda_clear()
- 7 agenda.admin.php \agenda_clear()
Agenda clear cache
1 string reference to 'agenda_clear'
- agenda_menu in ./
agenda.module - Implements hook_menu().
File
- ./
agenda.admin.php, line 513 - 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/config/services/agenda');
}