From 47583ff0428eaa0d97e26f61f81ac6d199e9b446 Mon Sep 17 00:00:00 2001 From: furun Date: Fri, 16 Oct 2009 22:55:26 +0200 Subject: Whitespace cleanup FS#1709 Ignore-this: 27ea52110bce929b2c61ed8faba67cfc darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz --- inc/cache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/cache.php') 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 ... -- cgit v1.2.3