Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122169894
DifferentialRevisionRelationship.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, Jul 16, 07:55
Size
416 B
Mime Type
text/x-php
Expires
Fri, Jul 18, 07:55 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27364956
Attached To
rPH Phabricator
DifferentialRevisionRelationship.php
View Options
<?php
abstract
class
DifferentialRevisionRelationship
extends
PhabricatorObjectRelationship
{
public
function
isEnabledForObject
(
$object
)
{
$viewer
=
$this
->
getViewer
();
$has_app
=
PhabricatorApplication
::
isClassInstalledForViewer
(
'PhabricatorDifferentialApplication'
,
$viewer
);
if
(!
$has_app
)
{
return
false
;
}
return
(
$object
instanceof
DifferentialRevision
);
}
}
Event Timeline
Log In to Comment