diff --git a/CHANGELOG.md b/CHANGELOG.md index 316205a4d..2025b4277 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/Filesystem.php b/src/Filesystem.php index 8299ed72c..37c56f435 100644 --- a/src/Filesystem.php +++ b/src/Filesystem.php @@ -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; }