diff --git a/Plugin.php b/Plugin.php index c2ddabd..9a79b8b 100644 --- a/Plugin.php +++ b/Plugin.php @@ -11,8 +11,8 @@ use Aweos\Resizer\Console\ResizePurge; use Aweos\Resizer\Lib\MediaPath; use Aweos\Resizer\Models\Setting; use Event; +use MediaLibrary; use Queue; -use System\Classes\MediaLibrary; use System\Classes\PluginBase; use System\Models\File; diff --git a/console/ResizeMake.php b/console/ResizeMake.php index d442bc8..9c1b35d 100644 --- a/console/ResizeMake.php +++ b/console/ResizeMake.php @@ -7,7 +7,7 @@ use Exception; use GuzzleHttp\Client; use GuzzleHttp\Exception\ClientException; use Illuminate\Console\Command; -use Media\Classes\MediaLibrary; +use MediaLibrary; use October\Rain\Database\Attach\Resizer; use Queue; use Storage; diff --git a/lib/MediaPath.php b/lib/MediaPath.php index 3643834..4b6b80d 100644 --- a/lib/MediaPath.php +++ b/lib/MediaPath.php @@ -6,7 +6,7 @@ use Aweos\Resizer\Compressors\Compressor; use Aweos\Resizer\Compressors\Factory as CompressorFactory; use Aweos\Resizer\Models\Setting; use Illuminate\Support\Collection; -use Media\Classes\MediaLibrary; +use MediaLibrary; use Storage; class MediaPath diff --git a/tests/ResizerTest.php b/tests/ResizerTest.php index a42a26e..62e83a7 100644 --- a/tests/ResizerTest.php +++ b/tests/ResizerTest.php @@ -7,7 +7,7 @@ use Aweos\Resizer\Models\Setting; use Aweos\Resizer\Tests\TestCase; use Event; use Illuminate\Http\UploadedFile; -use Media\Classes\MediaLibrary; +use MediaLibrary; use Storage; class ResizerTest extends TestCase diff --git a/tests/TestCase.php b/tests/TestCase.php index 4df7864..28781fa 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -3,7 +3,7 @@ namespace Aweos\Resizer\Tests; use Aweos\Resizer\Models\Setting; -use Media\Classes\MediaLibrary; +use MediaLibrary; use PluginTestCase; use Storage; use System\Classes\PluginManager;