Skip to content

A free open source IT asset/license management system

Remove old code.

Daniel Meltzer25d6ceee6e60
diff --git a/app/Http/Controllers/Licenses/LicenseFilesController.php b/app/Http/Controllers/Licenses/LicenseFilesController.php
index 328e5aa9c6..7fe5cc78ef 100644
--- a/app/Http/Controllers/Licenses/LicenseFilesController.php
+++ b/app/Http/Controllers/Licenses/LicenseFilesController.php
@@ -28,8 +28,6 @@ class LicenseFilesController extends Controller
public function store(AssetFileRequest $request, $licenseId = null)
{
$license = License::find($licenseId);
- // the license is valid
- $destinationPath = config('app.private_uploads').'/licenses';
if (isset($license->id)) {
$this->authorize('update', $license);