mirror of
https://github.com/flarum/framework.git
synced 2024-11-30 05:13:37 +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
656dec65dc
commit
99c47271be
|
@ -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