diff --git a/src/applications/diviner/publisher/DivinerLivePublisher.php b/src/applications/diviner/publisher/DivinerLivePublisher.php index 317739180f..4ade54dab2 100644 --- a/src/applications/diviner/publisher/DivinerLivePublisher.php +++ b/src/applications/diviner/publisher/DivinerLivePublisher.php @@ -113,11 +113,6 @@ final class DivinerLivePublisher extends DivinerPublisher { ->setGroupName($ref->getGroup()); if ($is_documentable) { - $storage = $this->loadAtomStorageForSymbol($symbol) - ->setAtomData($atom->toDictionary()) - ->setContent(null) - ->save(); - $renderer = $this->getRenderer(); $summary = $renderer->renderAtomSummary($atom); $summary = (string)phutil_safe_html($summary); @@ -125,6 +120,13 @@ final class DivinerLivePublisher extends DivinerPublisher { } $symbol->save(); + + if ($is_documentable) { + $storage = $this->loadAtomStorageForSymbol($symbol) + ->setAtomData($atom->toDictionary()) + ->setContent(null) + ->save(); + } } }