From: Brion Vibber Date: Mon, 28 Jul 2008 01:26:44 +0000 (+0000) Subject: Set a damn default for apiThumbCacheExpiry so we don't spew notices all the time... X-Git-Tag: 1.31.0-rc.0~46341 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=a06aaebb9a5e2ebfef1c1f0533e9e1779ce6ed76;p=lhc%2Fweb%2Fwiklou.git Set a damn default for apiThumbCacheExpiry so we don't spew notices all the time when it's not set. --- diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index 6073e5909d..a96f509572 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -19,6 +19,7 @@ */ class ForeignAPIRepo extends FileRepo { var $fileFactory = array( 'ForeignAPIFile', 'newFromTitle' ); + var $apiThumbCacheExpiry = 0; protected $mQueryCache = array(); function __construct( $info ) {