You are here

function ultimate_cron_plugin_settings_clear_cache in Ultimate Cron 7.2

Clear the cron hook cache after changing default settings.

2 string references to 'ultimate_cron_plugin_settings_clear_cache'
ultimate_cron_plugin_form in ./ultimate_cron.admin.inc
Main plugin settings form.
ultimate_cron_plugin_settings in ./ultimate_cron.admin.inc
Settings form for plugins.

File

./ultimate_cron.admin.inc, line 100
Ultimate Cron!

Code

function ultimate_cron_plugin_settings_clear_cache($form, &$form_state) {
  cache_clear_all('ultimate_cron_hooks', 'cache');
}