Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F539949
DiffusionCommitRelationship.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
415 B
Referenced Files
None
Subscribers
None
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
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 9:22 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
99548
Default Alt Text
DiffusionCommitRelationship.php (415 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment