function lingotek_do_cache in Lingotek Translation 7.2
Same name and namespace in other branches
- 6 lingotek.util.inc \lingotek_do_cache()
- 7.7 lingotek.util.inc \lingotek_do_cache()
- 7.3 lingotek.util.inc \lingotek_do_cache()
- 7.4 lingotek.util.inc \lingotek_do_cache()
- 7.5 lingotek.util.inc \lingotek_do_cache()
- 7.6 lingotek.util.inc \lingotek_do_cache()
Returns whether caching is enabled.
Return value
Boolean value.
1 call to lingotek_do_cache()
- lingotek_get_document_targets in ./
lingotek.api.inc - Get the target language objects for a Lingotek document associated with a node.
File
- ./
lingotek.util.inc, line 491 - Utility functions.
Code
function lingotek_do_cache() {
return !(variable_get('lingotek_flush_cache', FALSE) && user_access('dev'));
}