Remove MediaLibrary from TagGenerator

This commit is contained in:
philipp lang 2021-12-17 01:28:54 +01:00
parent b65c3eaa6f
commit 2d39d815a8
1 changed files with 0 additions and 3 deletions

View File

@ -9,12 +9,10 @@ use Aweos\Resizer\Models\Setting;
use Cache;
use Exception;
use Illuminate\Support\Collection;
use Media\Classes\MediaLibrary;
use Storage;
class TagGenerator {
public MediaLibrary $media;
public array $breakpoints;
public $path;
private CompressorFactory $compressorFactory;
@ -25,7 +23,6 @@ class TagGenerator {
public function __construct(CompressorFactory $compressorFactory)
{
$this->compressorFactory = $compressorFactory;
$this->media = MediaLibrary::instance();
$this->breakpoints = Setting::get('breakpoints');
ksort($this->breakpoints);
}