diff options
Diffstat (limited to 'engine/lib/cache.php')
-rw-r--r-- | engine/lib/cache.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/cache.php b/engine/lib/cache.php index 2832a35b9..32f36ff03 100644 --- a/engine/lib/cache.php +++ b/engine/lib/cache.php @@ -243,9 +243,7 @@ function elgg_regenerate_simplecache($viewtype = NULL) { * @since 1.8.0 */ function elgg_is_simplecache_enabled() { - global $CONFIG; - - if ($CONFIG->simplecache_enabled) { + if (elgg_get_config('simplecache_enabled')) { return true; } |