function lingotek_do_cache in Lingotek Translation 6
Same name and namespace in other branches
- 7.7 lingotek.util.inc \lingotek_do_cache()
- 7.2 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()
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'));
}