Removed unused (after I9a19862f1a720c5a464bd37f79b58a505c5961f9) var $backend.
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 17 Apr 2012 08:07:01 +0000 (01:07 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 17 Apr 2012 08:07:01 +0000 (01:07 -0700)
Change-Id: Ifd093d426eb8a39b1ff6ca1084cdb232f7e536eb

includes/filerepo/file/File.php

index de9efb5..ae11e67 100644 (file)
@@ -864,7 +864,6 @@ abstract class File {
                                        $thumb = $this->handler->getTransform( $this, $tmpThumbPath, $thumbUrl, $params );
                                }
                        } elseif ( $this->repo && $thumb->hasFile() && !$thumb->fileIsSource() ) {
-                               $backend = $this->repo->getBackend();
                                // Copy the thumbnail from the file system into storage...
                                $status = $this->repo->quickImport( $tmpThumbPath, $thumbPath );
                                if ( $status->isOK() ) {