Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'MDL-41291-master' of git://github.com/mr-russ/moodle
[moodle.git]
/
cache
/
stores
/
file
/
lib.php
diff --git
a/cache/stores/file/lib.php
b/cache/stores/file/lib.php
index
f7db610
..
514a4bd
100644
(file)
--- a/
cache/stores/file/lib.php
+++ b/
cache/stores/file/lib.php
@@
-336,6
+336,7
@@
class cachestore_file extends cache_store implements cache_is_key_aware, cache_i
$filename = $key.'.cache';
$file = $this->file_path_for_key($key);
$ttl = $this->definition->get_ttl();
+ $maxtime = 0;
if ($ttl) {
$maxtime = cache::now() - $ttl;
}