Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78689611
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
Thu, Aug 22, 10:22
Size
416 B
Mime Type
text/x-php
Expires
Sat, Aug 24, 10:22 (2 d)
Engine
blob
Format
Raw Data
Handle
20082239
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