function calendar_clear_all in Calendar 5.2
Same name and namespace in other branches
- 5 calendar.module \calendar_clear_all()
Empty or reset cached values.
Parameters
$remove: whether or not to completely remove the caches.
File
- ./
calendar.module, line 893 - Adds calendar filtering and displays to Views.
Code
function calendar_clear_all($remove = FALSE) {
if ($remove) {
cache_clear_all('calendar_views', 'cache_views');
cache_clear_all('calendar_fields', 'cache_views');
}
else {
calendar_fields(TRUE);
calendar_info(TRUE);
}
}