You are here

function _radioactivity_set_decay_profiles in Radioactivity 5

Same name and namespace in other branches
  1. 6 radioactivity.module \_radioactivity_set_decay_profiles()
2 calls to _radioactivity_set_decay_profiles()
radioactivity_admin_delete_profile_form_submit in ./radioactivity.module
radioactivity_admin_profile_form_submit in ./radioactivity.module

File

./radioactivity.module, line 93

Code

function _radioactivity_set_decay_profiles($decay_profiles) {

  // invalidate views cache (if views-module exists on this site)
  if (function_exists('views_invalidate_cache')) {
    views_invalidate_cache();
  }
  return variable_set("radioactivity_profiles", $decay_profiles);
}