You are here

function radioactivity_get_memcached_enable in Radioactivity 5

Same name and namespace in other branches
  1. 6 radioactivity.inc \radioactivity_get_memcached_enable()
3 calls to radioactivity_get_memcached_enable()
radioactivity_add_energy in ./radioactivity.inc
Add energy to nodes.
radioactivity_admin_general_form in ./radioactivity.module
radioactivity_cron in ./radioactivity.module

File

./radioactivity.inc, line 213

Code

function radioactivity_get_memcached_enable() {
  if (radioactivity_determine_memcached_availability() != RADIOACTIVITY_MEMCACHE_OK) {
    return 0;
  }
  return (int) variable_get('radioactivity_memcached_enable', 0);
}