mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
33 lines
564 B
PHP
33 lines
564 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Anomaly\FilesModule\File\FileModel;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
|
|
/**
|
|
* Bootstrap any application services.
|
|
*
|
|
* @param FileModel $fileModel
|
|
* @return void
|
|
*/
|
|
public function boot(FileModel $fileModel)
|
|
{
|
|
// Disable file versioning
|
|
$fileModel->disableVersioning();
|
|
}
|
|
|
|
/**
|
|
* Register any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
//
|
|
}
|
|
}
|