mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Never delete original file on store new version (#6489)
* Never delete original file on store new version * Never delete original file before store new version
This commit is contained in:
parent
497ef32f59
commit
d9e88fa3c9
@ -1,6 +1,10 @@
|
||||
HumHub Changelog
|
||||
================
|
||||
|
||||
1.14.4 (Unreleased)
|
||||
----------------------
|
||||
- Fix #6489: Never delete original file on store new version
|
||||
|
||||
1.14.3 (July 27, 2023)
|
||||
----------------------
|
||||
- Fix #6345: Fix updating of post on wall stream
|
||||
|
@ -350,7 +350,7 @@ class File extends FileCompat
|
||||
FileHistory::createEntryForFile($this);
|
||||
}
|
||||
|
||||
$this->store->delete(null, [FileHistory::VARIANT_PREFIX . '*']);
|
||||
$this->store->delete(null, ['file', FileHistory::VARIANT_PREFIX . '*']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user