You are here

function lingotek_do_cache in Lingotek Translation 6

Same name and namespace in other branches
  1. 7.7 lingotek.util.inc \lingotek_do_cache()
  2. 7.2 lingotek.util.inc \lingotek_do_cache()
  3. 7.3 lingotek.util.inc \lingotek_do_cache()
  4. 7.4 lingotek.util.inc \lingotek_do_cache()
  5. 7.5 lingotek.util.inc \lingotek_do_cache()
  6. 7.6 lingotek.util.inc \lingotek_do_cache()

Returns whether caching is enabled.

Return value

Boolean value.

1 call to lingotek_do_cache()
lingotek_node_view in ./lingotek.module

File

./lingotek.util.inc, line 190
Utilities

Code

function lingotek_do_cache() {
  return !(variable_get('lingotek_flush_cache', FALSE) && user_access('access access lingotek developer features'));
}