* Previously, the resulting thumbnail did not handle hasFile() and
stream() properly. This effected doCachedWork() in thumb.php
Change-Id: I8fd025204b5b41472be6c09924892fe8ee9dd260
*/
public function setStoragePath( $storagePath ) {
$this->storagePath = $storagePath;
+ if ( $this->path === false ) {
+ $this->path = $storagePath;
+ }
}
/**
/**
* Check if an output thumbnail file actually exists.
+ *
* This will return false if there was an error, the
* thumbnail is to be handled client-side only, or if
* transformation was deferred via TRANSFORM_LATER.
+ * This file may exist as a new file in /tmp, a file
+ * in permanent storage, or even refer to the original.
*
* @return bool
*/