Page MenuHomePhabricator

D13516.diff
No OneTemporary

D13516.diff

diff --git a/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php b/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php
--- a/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php
+++ b/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php
@@ -256,7 +256,6 @@
}
if ($visible) {
- $this->putObjectsInWorkspace($this->getWorkspaceMapForPage($visible));
$visible = $this->didFilterPage($visible);
}
@@ -471,27 +470,6 @@
/**
- * Convert a result page to a `<phid, PhabricatorPolicyInterface>` map.
- *
- * @param list<PhabricatorPolicyInterface> Objects.
- * @return map<phid, PhabricatorPolicyInterface> 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.
*
* PHIDs which are "in flight" are actively being queried for. Using this

File Metadata

Mime Type
text/plain
Expires
Sat, May 18, 5:47 AM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6276349
Default Alt Text
D13516.diff (1 KB)

Event Timeline