You are here

function _radioactivity_get_decay_granularity in Radioactivity 6

Same name and namespace in other branches
  1. 5 radioactivity.module \_radioactivity_get_decay_granularity()
2 calls to _radioactivity_get_decay_granularity()
radioactivity_admin_general_form in ./radioactivity-admin-ui.inc
@file Radioactivity core admin UI.
radioactivity_cron in ./radioactivity.module

File

./radioactivity.module, line 98

Code

function _radioactivity_get_decay_granularity() {
  $granularity = (int) variable_get('radioactivity_decay_granularity', 0);
  if ($granularity <= 0) {
    $granularity = 600;
  }
  return $granularity;
}