r38114 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38113‎ | r38114 | r38115 >
Date:01:26, 28 July 2008
Author:brion
Status:old
Tags:
Comment:
Set a damn default for apiThumbCacheExpiry so we don't spew notices all the time when it's not set.
Modified paths:
  • /trunk/phase3/includes/filerepo/ForeignAPIRepo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/ForeignAPIRepo.php
@@ -19,6 +19,7 @@
2020 */
2121 class ForeignAPIRepo extends FileRepo {
2222 var $fileFactory = array( 'ForeignAPIFile', 'newFromTitle' );
 23+ var $apiThumbCacheExpiry = 0;
2324 protected $mQueryCache = array();
2425
2526 function __construct( $info ) {

Status & tagging log