Set default thumb cache to 24hrs, rather than disabled
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 7 Oct 2009 03:46:06 +0000 (03:46 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 7 Oct 2009 03:46:06 +0000 (03:46 +0000)
includes/filerepo/ForeignAPIRepo.php

index 84e5df6..22b1b5d 100644 (file)
@@ -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();