Remove MediaLibrary from TagGenerator
This commit is contained in:
parent
b65c3eaa6f
commit
2d39d815a8
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue