From 2d39d815a8901aa6f56c87f43d2d6fdd6877a3eb Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 17 Dec 2021 01:28:54 +0100 Subject: [PATCH] Remove MediaLibrary from TagGenerator --- classes/TagGenerator.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/classes/TagGenerator.php b/classes/TagGenerator.php index 0f7f280..3148f47 100644 --- a/classes/TagGenerator.php +++ b/classes/TagGenerator.php @@ -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); }