fix(file): removed unused code
This commit is contained in:
parent
0adc40eecf
commit
5efea506d5
1 changed files with 6 additions and 17 deletions
|
@ -8,28 +8,17 @@ use App\Lib\RabbitMQSender;
|
||||||
use App\Models\File;
|
use App\Models\File;
|
||||||
use App\Models\TrackType;
|
use App\Models\TrackType;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
use Illuminate\Support\Facades\Storage;
|
use Illuminate\Support\Facades\Storage;
|
||||||
|
|
||||||
class FileController extends Controller
|
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) {
|
public function index(FileFilters $filters) {
|
||||||
|
|
||||||
if (!isset($filters->per_page) || is_null($filters)) {
|
if (!isset($filters->per_page) || is_null($filters)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue