From 0d50c40973698a237dd7d142d262ec0683c95918 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Fri, 5 Jun 2015 07:25:30 +1000 Subject: [PATCH] Fix a few Diviner method calls Summary: I missed these in D13157. Test Plan: Browsed around #diviner. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D13158 --- src/applications/diviner/publisher/DivinerLivePublisher.php | 2 -- src/applications/diviner/query/DivinerAtomQuery.php | 1 - 2 files changed, 3 deletions(-) diff --git a/src/applications/diviner/publisher/DivinerLivePublisher.php b/src/applications/diviner/publisher/DivinerLivePublisher.php index 71002ccd2a..25d1464b4e 100644 --- a/src/applications/diviner/publisher/DivinerLivePublisher.php +++ b/src/applications/diviner/publisher/DivinerLivePublisher.php @@ -31,8 +31,6 @@ final class DivinerLivePublisher extends DivinerPublisher { ->withNames(array($atom->getName())) ->withContexts(array($atom->getContext())) ->withIndexes(array($this->getAtomSimilarIndex($atom))) - ->withIncludeUndocumentable(true) - ->withIncludeGhosts(true) ->executeOne(); if ($symbol) { diff --git a/src/applications/diviner/query/DivinerAtomQuery.php b/src/applications/diviner/query/DivinerAtomQuery.php index 12600927ff..4af0f1b1fa 100644 --- a/src/applications/diviner/query/DivinerAtomQuery.php +++ b/src/applications/diviner/query/DivinerAtomQuery.php @@ -240,7 +240,6 @@ final class DivinerAtomQuery extends PhabricatorCursorPagedPolicyAwareQuery { if ($child_hashes) { $children = id(new DivinerAtomQuery()) ->setViewer($this->getViewer()) - ->withIncludeUndocumentable(true) ->withNodeHashes($child_hashes) ->needAtoms($this->needAtoms) ->execute();