remove legacy pdf path
This commit is contained in:
parent
28f4114def
commit
b280475314
6 changed files with 2 additions and 65 deletions
|
|
@ -46,7 +46,6 @@ class UpdateElement
|
|||
&& $request->richText === null
|
||||
&& $request->shortPdfPath === null
|
||||
&& $request->longPdfPath === null
|
||||
&& $request->pdfPath === null
|
||||
&& $request->youtubeUrl === null
|
||||
&& $request->fileType === null
|
||||
&& $request->fileContents === null
|
||||
|
|
@ -88,11 +87,6 @@ class UpdateElement
|
|||
id: $request->id,
|
||||
shortPdfPath: $request->shortPdfPath,
|
||||
));
|
||||
} elseif ($request->pdfPath !== null) {
|
||||
$this->updateShortPdfPath->execute(new UpdateShortPdfPathRequest(
|
||||
id: $request->id,
|
||||
shortPdfPath: $request->pdfPath,
|
||||
));
|
||||
}
|
||||
if ($request->longPdfPath !== null) {
|
||||
$this->updateLongPdfPath->execute(new UpdateLongPdfPathRequest(
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ class UpdateElementRequest
|
|||
public ?string $richText,
|
||||
public ?string $shortPdfPath,
|
||||
public ?string $longPdfPath,
|
||||
public ?string $pdfPath,
|
||||
public ?string $youtubeUrl,
|
||||
public ?string $fileType,
|
||||
public ?string $fileContents,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue