From e7638f5acfa5c8f6ef6c6dd7ac843f0de4871e10 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 7 Oct 2009 03:46:06 +0000 Subject: [PATCH] Set default thumb cache to 24hrs, rather than disabled --- includes/filerepo/ForeignAPIRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index 84e5df6989..22b1b5d8e6 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -19,7 +19,7 @@ */ class ForeignAPIRepo extends FileRepo { var $fileFactory = array( 'ForeignAPIFile', 'newFromTitle' ); - var $apiThumbCacheExpiry = 0; + var $apiThumbCacheExpiry = 86400; protected $mQueryCache = array(); protected $mFileExists = array(); -- 2.20.1