Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81135157
DiffusionCommitRelationship.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
Wed, Sep 4, 09:11
Size
415 B
Mime Type
text/x-php
Expires
Fri, Sep 6, 09:11 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20521774
Attached To
rPH Phabricator
DiffusionCommitRelationship.php
View Options
<?php
abstract
class
DiffusionCommitRelationship
extends
PhabricatorObjectRelationship
{
public
function
isEnabledForObject
(
$object
)
{
$viewer
=
$this
->
getViewer
();
$has_app
=
PhabricatorApplication
::
isClassInstalledForViewer
(
'PhabricatorDiffusionApplication'
,
$viewer
);
if
(!
$has_app
)
{
return
false
;
}
return
(
$object
instanceof
PhabricatorRepositoryCommit
);
}
}
Event Timeline
Log In to Comment