You are here

function _votingapi_set_action_status in Voting API 5

2 calls to _votingapi_set_action_status()
votingapi_actions_admin_disable_page in ./votingapi_actions_ui.inc
votingapi_actions_admin_enable_page in ./votingapi_actions_ui.inc

File

./votingapi_actions.module, line 224

Code

function _votingapi_set_action_status($set_name, $status) {
  $status_list = variable_get('votingapi_action_status', array());
  $status_list[$set_name] = $status;
  variable_set('votingapi_action_status', $status_list);
  votingapi_rebuild_action_cache();
}