Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100980951
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
Tue, Feb 4, 12:21
Size
416 B
Mime Type
text/x-php
Expires
Thu, Feb 6, 12:21 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
24004645
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