mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#1058 Stream versions create big data for file module
This commit is contained in:
parent
1cbc38a8ca
commit
a9595d94ba
@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Anomaly\FilesModule\File\FileModel;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
@ -10,11 +11,13 @@ class AppServiceProvider extends ServiceProvider
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
* @param FileModel $fileModel
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
public function boot(FileModel $fileModel)
|
||||
{
|
||||
//
|
||||
// Disable file versioning
|
||||
$fileModel->disableVersioning();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -196,6 +196,11 @@ return [
|
||||
*/
|
||||
//Laravel\Tinker\TinkerServiceProvider::class,
|
||||
|
||||
/*
|
||||
* Streams Service Provider
|
||||
*/
|
||||
Anomaly\Streams\Platform\StreamsServiceProvider::class,
|
||||
|
||||
/*
|
||||
* Application Service Providers...
|
||||
*/
|
||||
@ -204,11 +209,6 @@ return [
|
||||
// App\Providers\BroadcastServiceProvider::class,
|
||||
App\Providers\EventServiceProvider::class,
|
||||
App\Providers\RouteServiceProvider::class,
|
||||
|
||||
/*
|
||||
* Streams Service Provider
|
||||
*/
|
||||
Anomaly\Streams\Platform\StreamsServiceProvider::class,
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user