Integrate snipContent more tightly into snip and cleanup old code
This commit is contained in:
@ -41,7 +41,7 @@ class IncludeReferenceStage implements StageInterface
|
||||
} else {
|
||||
$snip = $this->snipRepository->find($id);
|
||||
if ($snip) {
|
||||
$content = $this->snipContentRepository->find($snip->getActiveCommit());
|
||||
$content = $this->snipContentRepository->find($snip->getActiveVersion());
|
||||
}
|
||||
}
|
||||
if ($content === null) {
|
||||
|
Reference in New Issue
Block a user