Fix linting issue

This commit is contained in:
Maxime Rainville 2020-06-25 17:04:20 +12:00
parent de9b93f5cd
commit 6f04f9537d

View File

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