You are here

function radioactivity_get_memcached_enable in Radioactivity 6

Same name and namespace in other branches
  1. 5 radioactivity.inc \radioactivity_get_memcached_enable()
4 calls to radioactivity_get_memcached_enable()
radioactivity_add_energy in ./radioactivity.inc
Add energy to nodes.
radioactivity_admin_general_form in ./radioactivity-admin-ui.inc
@file Radioactivity core admin UI.
radioactivity_cron in ./radioactivity.module
radioactivity_debug_memcache_form in plugins/radioactivity_debug.module

File

./radioactivity.inc, line 242

Code

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