Fix some more issues after the merge

This commit is contained in:
2014-09-23 00:57:46 +06:00
parent dbd2f0d06f
commit 5e4ce96266
2 changed files with 3 additions and 3 deletions

View File

@@ -81,12 +81,12 @@ function handleSingleRepository(
$viewer,
$repository);
$pushable = $policies[DiffusionCapabilityPush::CAPABILITY];
$pushable = $policies[DiffusionPushCapability::CAPABILITY];
$type = phid_get_type($pushable->getPHID());
$members = array();
if ($type == PhabricatorProjectPHIDTypeProject::TYPECONST) {
if ($type == PhabricatorProjectProjectPHIDType::TYPECONST) {
$project = id(new PhabricatorProjectQuery())
->setViewer($viewer)
->needMembers(true)