Skip to content

Commit

Permalink
avoid creating empty conversions directories
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Aug 23, 2015
1 parent 6dee2f4 commit 8976b9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All Notable changes to `laravel-medialibrary` will be documented in this file

##3.1.5
- Avoid creating empty conversions-directories

##3.1.4
- Fixed a bug where chaining the conversion convenience methods would not give the right result

Expand Down
1 change: 0 additions & 1 deletion src/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ public function getMediaDirectory(Media $media)

$directory = $media->id;
$this->filesystems->disk($media->disk)->makeDirectory($directory);
$this->filesystems->disk($media->disk)->makeDirectory($directory.'/conversions');

return $directory;
}
Expand Down

0 comments on commit 8976b9e

Please sign in to comment.