changeset 110:6f5939bf53c3

Set flag cache expiry time to today + 30 days
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Tue, 08 Mar 2016 00:43:48 +0100
parents 812b0cfa999f
children adf7b11921f4 b9668126e52e
files Flag.inc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Flag.inc	Mon Mar 07 20:45:02 2016 +0100
+++ b/Flag.inc	Tue Mar 08 00:43:48 2016 +0100
@@ -55,7 +55,7 @@
     }
 
     $cache = new CacheTimeCheck($this->name);
-    $cache->setMaxAge(86400);
+    $cache->setMaxAge(30*86400);
     $cache->addParent($masterCache);
     $this->setCache($cache);
   }