Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F105957279
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
Fri, Mar 21, 02:33
Size
415 B
Mime Type
text/x-php
Expires
Sun, Mar 23, 02:33 (2 d)
Engine
blob
Format
Raw Data
Handle
25054174
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