diff options
Diffstat (limited to 'includes/cache.inc')
-rw-r--r-- | includes/cache.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/cache.inc b/includes/cache.inc index 83cd23e47..a7ad16214 100644 --- a/includes/cache.inc +++ b/includes/cache.inc @@ -168,7 +168,7 @@ function cache_clear_all($cid = NULL, $table = NULL, $wildcard = FALSE) { // This is the first request to clear the cache, start a timer. variable_set('cache_flush', REQUEST_TIME); } - else if (REQUEST_TIME > ($cache_flush + variable_get('cache_lifetime', 0))) { + elseif (REQUEST_TIME > ($cache_flush + variable_get('cache_lifetime', 0))) { // Clear the cache for everyone, cache_flush_delay seconds have // passed since the first request to clear the cache. db_delete($table) |