diff options
author | furun <furun@arcor.de> | 2009-10-16 22:55:26 +0200 |
---|---|---|
committer | furun <furun@arcor.de> | 2009-10-16 22:55:26 +0200 |
commit | 47583ff0428eaa0d97e26f61f81ac6d199e9b446 (patch) | |
tree | 4cea7fd563437b0d55a1af3a0e59a659192d5d38 /inc/cache.php | |
parent | 623b29ddeb427ec79bc196f91198e5e8439f01e4 (diff) | |
download | rpg-47583ff0428eaa0d97e26f61f81ac6d199e9b446.tar.gz rpg-47583ff0428eaa0d97e26f61f81ac6d199e9b446.tar.bz2 |
Whitespace cleanup FS#1709
Ignore-this: 27ea52110bce929b2c61ed8faba67cfc
darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
Diffstat (limited to 'inc/cache.php')
-rw-r--r-- | inc/cache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/cache.php b/inc/cache.php index a6979d1c2..900644d09 100644 --- a/inc/cache.php +++ b/inc/cache.php @@ -29,7 +29,7 @@ class cache { /** * public method to determine whether the cache can be used * - * to assist in cetralisation of event triggering and calculation of cache statistics, + * to assist in cetralisation of event triggering and calculation of cache statistics, * don't override this function override _useCache() * * @param array $depends array of cache dependencies, support dependecies: @@ -183,7 +183,7 @@ class cache_parser extends cache { function _addDependencies() { global $conf, $config_cascade; - $this->depends['age'] = isset($this->depends['age']) ? + $this->depends['age'] = isset($this->depends['age']) ? min($this->depends['age'],$conf['cachetime']) : $conf['cachetime']; // parser cache file dependencies ... |