diff --git a/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php b/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php index b3e9c08237..9512acbc22 100644 --- a/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php +++ b/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php @@ -256,7 +256,6 @@ abstract class PhabricatorPolicyAwareQuery extends PhabricatorOffsetPagedQuery { } if ($visible) { - $this->putObjectsInWorkspace($this->getWorkspaceMapForPage($visible)); $visible = $this->didFilterPage($visible); } @@ -470,27 +469,6 @@ abstract class PhabricatorPolicyAwareQuery extends PhabricatorOffsetPagedQuery { } - /** - * Convert a result page to a `` map. - * - * @param list Objects. - * @return map Map of objects which can - * be put into the workspace. - * @task workspace - */ - protected function getWorkspaceMapForPage(array $results) { - $map = array(); - foreach ($results as $result) { - $phid = $result->getPHID(); - if ($phid !== null) { - $map[$phid] = $result; - } - } - - return $map; - } - - /** * Mark PHIDs as in flight. *