mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 15:43:59 +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);
|
$this->putRevision($newRevision);
|
||||||
|
|
||||||
if ($oldFile) {
|
if ($oldFile && $oldFile !== $newFile) {
|
||||||
$this->delete($oldFile);
|
$this->delete($oldFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user