Page MenuHomec4science

DiffusionCommitRelationshipSource.php
No OneTemporary

File Metadata

Created
Sat, Nov 2, 07:55

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,
);
}
public function getFilters() {
$filters = parent::getFilters();
unset($filters['assigned']);
return $filters;
}
}

Event Timeline