mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Remove old code.
This commit is contained in:
parent
4fef065010
commit
25d6ceee6e
|
@ -28,8 +28,6 @@ class LicenseFilesController extends Controller
|
||||||
public function store(AssetFileRequest $request, $licenseId = null)
|
public function store(AssetFileRequest $request, $licenseId = null)
|
||||||
{
|
{
|
||||||
$license = License::find($licenseId);
|
$license = License::find($licenseId);
|
||||||
// the license is valid
|
|
||||||
$destinationPath = config('app.private_uploads').'/licenses';
|
|
||||||
|
|
||||||
if (isset($license->id)) {
|
if (isset($license->id)) {
|
||||||
$this->authorize('update', $license);
|
$this->authorize('update', $license);
|
||||||
|
|
Loading…
Reference in a new issue