Remove old code.

This commit is contained in:
Daniel Meltzer 2020-05-23 12:18:27 -04:00
parent 4fef065010
commit 25d6ceee6e
No known key found for this signature in database
GPG key ID: 91C5C7B09A5B1CA0

View file

@ -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);