mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-13 23:10:23 -08:00
A few more small clean ups
This commit is contained in:
parent
495d74f7c9
commit
71761a48ad
|
@ -1,12 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Api;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class SavedReportsController extends Controller
|
||||
{
|
||||
//displays a list of all saved reports
|
||||
//displays the saved report?
|
||||
}
|
|
@ -411,7 +411,6 @@ class ReportsController extends Controller
|
|||
*/
|
||||
public function postCustom(Request $request)
|
||||
{
|
||||
// dd('postCustom', $request->all());
|
||||
ini_set('max_execution_time', env('REPORT_TIME_LIMIT', 12000)); //12000 seconds = 200 minutes
|
||||
$this->authorize('reports.view');
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ class ReportTemplate extends Model
|
|||
'options',
|
||||
];
|
||||
|
||||
// @todo: add $rules
|
||||
protected $rules = [
|
||||
'name' => 'required|unique:report_templates,name',
|
||||
'options' => 'array',
|
||||
|
|
Loading…
Reference in a new issue