Set a damn default for apiThumbCacheExpiry so we don't spew notices all the time...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 28 Jul 2008 01:26:44 +0000 (01:26 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 28 Jul 2008 01:26:44 +0000 (01:26 +0000)
includes/filerepo/ForeignAPIRepo.php

index 6073e59..a96f509 100644 (file)
@@ -19,6 +19,7 @@
  */
 class ForeignAPIRepo extends FileRepo {
        var $fileFactory = array( 'ForeignAPIFile', 'newFromTitle' );
+       var $apiThumbCacheExpiry = 0;
        protected $mQueryCache = array();
        
        function __construct( $info ) {