Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110857235
DiffusionCommitRelationshipSource.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Apr 28, 11:27
Size
565 B
Mime Type
text/x-php
Expires
Wed, Apr 30, 11:27 (2 d)
Engine
blob
Format
Raw Data
Handle
25856853
Attached To
rPH Phabricator
DiffusionCommitRelationshipSource.php
View Options
<?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
Log In to Comment