1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 14:00:56 +01:00

Merge branch 'master' into redesign-2015

This commit is contained in:
epriestley 2015-06-30 11:42:42 -07:00
commit 09d392fdbb

View file

@ -37,6 +37,12 @@ final class PhabricatorHandleQuery
->requireCapabilities($this->getRequiredObjectCapabilities())
->setViewer($this->getViewer());
// We never want the subquery to raise policy exceptions, even if this
// query is being executed via executeOne(). Policy exceptions are not
// meaningful or relevant for handles, which load in an "Unknown" or
// "Restricted" state after encountering a policy violation.
$object_query->setRaisePolicyExceptions(false);
$objects = $object_query->execute();
$filtered = $object_query->getPolicyFilteredPHIDs();