Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/query/PhabricatorProjectColumnQuery.php
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | protected function didFilterPage(array $page) { | ||||
} | } | ||||
foreach ($page as $key => $column) { | foreach ($page as $key => $column) { | ||||
$proxy_phid = $column->getProxyPHID(); | $proxy_phid = $column->getProxyPHID(); | ||||
if ($proxy_phid !== null) { | if ($proxy_phid !== null) { | ||||
$proxy = idx($proxies, $proxy_phid); | $proxy = idx($proxies, $proxy_phid); | ||||
// Only attach valid proxies, so we don't end up getting surprsied if | // Only attach valid proxies, so we don't end up getting surprised if | ||||
// an install somehow gets junk into their database. | // an install somehow gets junk into their database. | ||||
if (!($proxy instanceof PhabricatorColumnProxyInterface)) { | if (!($proxy instanceof PhabricatorColumnProxyInterface)) { | ||||
$proxy = null; | $proxy = null; | ||||
} | } | ||||
if (!$proxy) { | if (!$proxy) { | ||||
$this->didRejectResult($column); | $this->didRejectResult($column); | ||||
unset($page[$key]); | unset($page[$key]); | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |