fix(file): removed unused code

This commit is contained in:
Marco Cavalli 2025-02-12 17:13:34 +01:00
parent 0adc40eecf
commit 5efea506d5

View file

@ -8,28 +8,17 @@ use App\Lib\RabbitMQSender;
use App\Models\File;
use App\Models\TrackType;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Storage;
class FileController extends Controller
{
protected static $propertyDefinitions = array(
'content_type' => 'shortstr',
'content_encoding' => 'shortstr',
'application_headers' => 'table_object',
'delivery_mode' => 'octet',
'priority' => 'octet',
'correlation_id' => 'shortstr',
'reply_to' => 'shortstr',
'expiration' => 'shortstr',
'message_id' => 'shortstr',
'timestamp' => 'timestamp',
'type' => 'shortstr',
'user_id' => 'shortstr',
'app_id' => 'shortstr',
'cluster_id' => 'shortstr',
);
/**
* Return file list, with optional filters, defined in app/Filters/FileFilters
* @param FileFilters $filters
* @return mixed
*/
public function index(FileFilters $filters) {
if (!isset($filters->per_page) || is_null($filters)) {