function _radioactivity_node_get_click_duration in Radioactivity 6
3 calls to _radioactivity_node_get_click_duration()
- radioactivity_node_admin_form in plugins/
radioactivity_node-admin-ui.inc - @file Node radioactivity admin UI
- radioactivity_node_cron in plugins/
radioactivity_node.module - radioactivity_node_user_node_view in plugins/
radioactivity_node.module - Gives energy to node, if abuse control is passed.
File
- plugins/
radioactivity_node.module, line 73 - Node radioactivity
Code
function _radioactivity_node_get_click_duration() {
$click_duration = (int) variable_get('radioactivity_node_click_duration', 0);
if ($click_duration <= 0) {
$click_duration = 0;
}
return $click_duration;
}