Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100958810
ManiphestTaskRelationship.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, 07:47
Size
399 B
Mime Type
text/x-php
Expires
Thu, Feb 6, 07:47 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
24061700
Attached To
rPH Phabricator
ManiphestTaskRelationship.php
View Options
<?php
abstract
class
ManiphestTaskRelationship
extends
PhabricatorObjectRelationship
{
public
function
isEnabledForObject
(
$object
)
{
$viewer
=
$this
->
getViewer
();
$has_app
=
PhabricatorApplication
::
isClassInstalledForViewer
(
'PhabricatorManiphestApplication'
,
$viewer
);
if
(!
$has_app
)
{
return
false
;
}
return
(
$object
instanceof
ManiphestTask
);
}
}
Event Timeline
Log In to Comment