1
0
mirror of https://github.com/flarum/core.git synced 2025-07-17 23:01:17 +02:00

Fix for a bug that would delete the new revision of less/js in case the filenames match.

This commit is contained in:
Daniël Klabbers
2020-09-30 09:26:32 +02:00
parent c7b67b922b
commit 86d4bf0214

View File

@@ -86,7 +86,7 @@ class RevisionCompiler implements CompilerInterface
$this->putRevision($newRevision); $this->putRevision($newRevision);
if ($oldFile) { if ($oldFile && $oldFile !== $newFile) {
$this->delete($oldFile); $this->delete($oldFile);
} }
} }