Remove Media service provider

This commit is contained in:
Phan An 2018-08-19 23:21:41 +02:00
parent f82f1f42ad
commit 466cfdcd9f
2 changed files with 0 additions and 32 deletions

View file

@ -1,31 +0,0 @@
<?php
namespace App\Providers;
use App\Services\MediaSyncService;
use Illuminate\Support\ServiceProvider;
class MediaServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
{
//
}
/**
* Register the application services.
*
* @return void
*/
public function register()
{
app()->singleton('Media', function () {
return app()->make(MediaSyncService::class);
});
}
}

View file

@ -148,7 +148,6 @@ return [
App\Providers\AuthServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
App\Providers\MediaServiceProvider::class,
App\Providers\MediaCacheServiceProvider::class,
App\Providers\UtilServiceProvider::class,
App\Providers\YouTubeServiceProvider::class,