function agenda_clear in Agenda 6
Same name and namespace in other branches
- 6.2 agenda.admin.php \agenda_clear()
- 7.2 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 - Implementation of hook_menu().
File
- ./
agenda.admin.php, line 451 - 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');
}