mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 12:48:28 +08:00
Fix for a bug that would delete the new revision of less/js in case the filenames match.
This commit is contained in:
parent
c7b67b922b
commit
86d4bf0214
|
@ -86,7 +86,7 @@ class RevisionCompiler implements CompilerInterface
|
|||
|
||||
$this->putRevision($newRevision);
|
||||
|
||||
if ($oldFile) {
|
||||
if ($oldFile && $oldFile !== $newFile) {
|
||||
$this->delete($oldFile);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user