remove legacy pdf path
This commit is contained in:
parent
28f4114def
commit
b280475314
6 changed files with 2 additions and 65 deletions
|
|
@ -72,7 +72,6 @@ class ElementController
|
|||
richText: $this->stringInput($request, 'richText'),
|
||||
shortPdfPath: $this->stringInput($request, 'shortPdfPath'),
|
||||
longPdfPath: $this->stringInput($request, 'longPdfPath'),
|
||||
pdfPath: $this->stringInput($request, 'pdfPath'),
|
||||
youtubeUrl: $this->stringInput($request, 'youtubeUrl'),
|
||||
fileType: $this->stringInput($request, 'fileType'),
|
||||
fileContents: $file['contents'],
|
||||
|
|
@ -176,7 +175,6 @@ class ElementController
|
|||
* richText: string,
|
||||
* shortPdfPath: string|null,
|
||||
* longPdfPath: string|null,
|
||||
* pdfPath: string|null,
|
||||
* youtubeUrl: string|null,
|
||||
* }
|
||||
*/
|
||||
|
|
@ -199,10 +197,6 @@ class ElementController
|
|||
$element->getLongPdfPath(),
|
||||
'element-pdfs/',
|
||||
),
|
||||
'pdfPath' => $this->storageUrl(
|
||||
$element->getShortPdfPath(),
|
||||
'element-pdfs/',
|
||||
),
|
||||
'youtubeUrl' => $element->getYoutubeUrl(),
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue