mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Return the latest uploaded (updated) file path.
This commit is contained in:
parent
ee2dd78b3d
commit
325ae4ad08
@ -195,6 +195,7 @@ abstract class ImportModel extends Model
|
||||
$file = $this
|
||||
->import_file()
|
||||
->withDeferred($sessionKey)
|
||||
->orderBy('updated_at', 'desc')
|
||||
->first()
|
||||
;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user