Fix bad conflict resolve

Also fix wrong push capability check.
This commit is contained in:
2014-09-23 00:23:56 +06:00
parent c87e657412
commit dbd2f0d06f
2 changed files with 2 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ function handleSingleRepository(
$viewer,
$repository);
$pushable = $policies[DiffusionCapabilityPush::CAPABILITY];
$pushable = $policies[DiffusionPushCapability::CAPABILITY];
$type = phid_get_type($pushable->getPHID());
// Make sure repository is always available for read-only access