You are here

function radioactivity_settings_reset_messages in Radioactivity 7.2

Page callback which clears some of the warnings in R

1 string reference to 'radioactivity_settings_reset_messages'
radioactivity_menu in ./radioactivity.module
Implements hook_menu().

File

./radioactivity.module, line 164
Radioactivity core functionality

Code

function radioactivity_settings_reset_messages() {
  drupal_set_message(t('Warnings cleared.'), 'status');
  variable_del("radioactivity_config_warning");
  variable_del("radioactivity_bootstrap_warning");
  $path = isset($_GET['destination']) ? $_GET['destination'] : "/";
  cache_clear_all();
  drupal_goto($path);
}