Fix some more issues after the merge
This commit is contained in:
@@ -81,12 +81,12 @@ function handleSingleRepository(
|
|||||||
$viewer,
|
$viewer,
|
||||||
$repository);
|
$repository);
|
||||||
|
|
||||||
$pushable = $policies[DiffusionCapabilityPush::CAPABILITY];
|
$pushable = $policies[DiffusionPushCapability::CAPABILITY];
|
||||||
$type = phid_get_type($pushable->getPHID());
|
$type = phid_get_type($pushable->getPHID());
|
||||||
|
|
||||||
$members = array();
|
$members = array();
|
||||||
|
|
||||||
if ($type == PhabricatorProjectPHIDTypeProject::TYPECONST) {
|
if ($type == PhabricatorProjectProjectPHIDType::TYPECONST) {
|
||||||
$project = id(new PhabricatorProjectQuery())
|
$project = id(new PhabricatorProjectQuery())
|
||||||
->setViewer($viewer)
|
->setViewer($viewer)
|
||||||
->needMembers(true)
|
->needMembers(true)
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ function handleSingleRepository(
|
|||||||
$access[$repository_rootpath]['RO'] = array();
|
$access[$repository_rootpath]['RO'] = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($type == PhabricatorProjectPHIDTypeProject::TYPECONST) {
|
if ($type == PhabricatorProjectProjectPHIDType::TYPECONST) {
|
||||||
$project = id(new PhabricatorProjectQuery())
|
$project = id(new PhabricatorProjectQuery())
|
||||||
->setViewer($viewer)
|
->setViewer($viewer)
|
||||||
->needMembers(true)
|
->needMembers(true)
|
||||||
|
|||||||
Reference in New Issue
Block a user