Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Someone posted a question in a forum that time based caching does not reset.
I had a look at the method in the class
if ($lifespan = $this->options[$type . '_lifespan']) {
$cutoff = time() - $lifespan;
}
else {
I think $cutoff have to be returned , and i tested it and it worked.
Comment | File | Size | Author |
---|---|---|---|
views-cache-time-fix.patch | 666 bytes | dawehner | |
Comments
Comment #1
mdroste CreditAttribution: mdroste commentedComment #2
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted to 2.x and 3.x branches.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedThanks! That was it.
Comment #5
geerlingguy CreditAttribution: geerlingguy commentedI'm having the same problem - is this in the -dev only right now?
Comment #6
dawehneras merlinofchaos said.
Its commited into both 2.x and 3.x branch.