Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1155913
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
Tue, Jul 1, 9:25 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
271893
Default Alt Text
DiffusionCommitRelationship.php (415 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment