Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99857955
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
Mon, Jan 27, 00:09
Size
416 B
Mime Type
text/x-php
Expires
Wed, Jan 29, 00:09 (2 d)
Engine
blob
Format
Raw Data
Handle
23835503
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