function heartbeat_stream_config_reset in Heartbeat 7
Helper function to reset cached streams and attached menu entries.
2 calls to heartbeat_stream_config_reset()
- ctools_export_ui_heartbeat_stream::delete_page in modules/heartbeat_ui/ plugins/ export_ui/ ctools_export_ui_heartbeat_stream.class.php 
- Page callback to delete an exportable item.
- ctools_export_ui_heartbeat_stream::edit_form_submit in modules/heartbeat_ui/ plugins/ export_ui/ ctools_export_ui_heartbeat_stream.class.php 
- Implements edit_form_submit().
File
- ./heartbeat.streams.inc, line 148 
Code
function heartbeat_stream_config_reset($streamConfig = NULL) {
  // Clear the heartbeat stream cache.
  cache_clear_all('heartbeat_streams', 'cache');
  drupal_static_reset('heartbeat_streams');
  // This is the only way we can let the menu system know that the
  // menu needs to be rebuild. Just calling menu_rebuild here is too
  // soon and would result in not clearing the menu later on.
  variable_set('menu_rebuild_needed', TRUE);
}