You are here

function _radioactivity_set_decay_profiles in Radioactivity 6

Same name and namespace in other branches
  1. 5 radioactivity.module \_radioactivity_set_decay_profiles()
3 calls to _radioactivity_set_decay_profiles()
RadioactivityNodeTestCase::setUp in plugins/radioactivity_node.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
radioactivity_admin_delete_profile_form_submit in ./radioactivity-admin-ui.inc
radioactivity_admin_profile_form_submit in ./radioactivity-admin-ui.inc

File

./radioactivity.module, line 89

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);
}