mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 06:53:47 +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