mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Fix linting issue
This commit is contained in:
parent
de9b93f5cd
commit
6f04f9537d
@ -247,7 +247,8 @@ class RecoverUploadLocationsHelper
|
||||
|
||||
if ($this->filesVersioned) {
|
||||
$draftVersion = Versioned::get_versionnumber_by_stage(File::class, Versioned::DRAFT, $fileId);
|
||||
$liveVersion = Versioned::get_versionnumber_by_stage(File::class, Versioned::LIVE, $fileId);;
|
||||
$liveVersion = Versioned::get_versionnumber_by_stage(File::class, Versioned::LIVE, $fileId);
|
||||
;
|
||||
|
||||
if ($draftVersion && $draftVersion != $liveVersion) {
|
||||
$draft = Versioned::get_version(File::class, $fileId, $draftVersion);
|
||||
|
Loading…
Reference in New Issue
Block a user