r104527 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104526‎ | r104527 | r104528 >
Date:01:08, 29 November 2011
Author:aaron
Status:deferred
Tags:
Comment:
Removed unused vars
Modified paths:
  • /branches/FileBackend/phase3/includes/filerepo/ForeignAPIRepo.php (modified) (history)

Diff [purge]

Index: branches/FileBackend/phase3/includes/filerepo/ForeignAPIRepo.php
@@ -32,9 +32,6 @@
3333 var $apiThumbCacheExpiry = 86400; /* 24*60*60 */
3434 /* Redownload thumbnail files after a month */
3535 var $fileCacheExpiry = 2592000; /* 86400*30 */
36 - /* Local image directory */
37 - var $directory;
38 - var $thumbDir;
3936
4037 protected $mQueryCache = array();
4138 protected $mFileExists = array();
@@ -42,7 +39,7 @@
4340 function __construct( $info ) {
4441 global $wgLocalFileRepo, $wgUploadDirectory;
4542 if ( !isset( $info['directory'] ) ) { // b/c
46 - $info['directory'] = $wgUploadDirectory;
 43+ $info['directory'] = $wgUploadDirectory; // Local image directory
4744 }
4845 parent::__construct( $info );
4946

Status & tagging log