mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge branch '5.4' into 5.5
This commit is contained in:
commit
319fa4734c
@ -1,6 +1,9 @@
|
||||
language: php
|
||||
|
||||
dist: trusty
|
||||
dist: xenial
|
||||
|
||||
services:
|
||||
- mysql
|
||||
|
||||
env:
|
||||
global:
|
||||
|
@ -248,7 +248,6 @@ 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);
|
||||
;
|
||||
|
||||
if ($draftVersion && $draftVersion != $liveVersion) {
|
||||
$draft = Versioned::get_version(File::class, $fileId, $draftVersion);
|
||||
|
Loading…
Reference in New Issue
Block a user