Page MenuHomec4science

DiffusionCommitRelationshipSource.php
No OneTemporary

File Metadata

Created
Mon, Dec 23, 19:10

DiffusionCommitRelationshipSource.php

<?php
final class DiffusionCommitRelationshipSource
extends PhabricatorObjectRelationshipSource {
public function isEnabledForObject($object) {
$viewer = $this->getViewer();
return PhabricatorApplication::isClassInstalledForViewer(
'PhabricatorDiffusionApplication',
$viewer);
}
public function getResultPHIDTypes() {
return array(
PhabricatorRepositoryCommitPHIDType::TYPECONST,
);
}
}

Event Timeline