mirror of
https://github.com/koel/koel
synced 2024-11-24 05:03:05 +00:00
Remove Media service provider
This commit is contained in:
parent
f82f1f42ad
commit
466cfdcd9f
2 changed files with 0 additions and 32 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
}
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue