Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99780140
PholioMockRelationship.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
Sun, Jan 26, 14:28
Size
390 B
Mime Type
text/x-php
Expires
Tue, Jan 28, 14:28 (2 d)
Engine
blob
Format
Raw Data
Handle
23820365
Attached To
rPH Phabricator
PholioMockRelationship.php
View Options
<?php
abstract
class
PholioMockRelationship
extends
PhabricatorObjectRelationship
{
public
function
isEnabledForObject
(
$object
)
{
$viewer
=
$this
->
getViewer
();
$has_app
=
PhabricatorApplication
::
isClassInstalledForViewer
(
'PhabricatorPholioApplication'
,
$viewer
);
if
(!
$has_app
)
{
return
false
;
}
return
(
$object
instanceof
PholioMock
);
}
}
Event Timeline
Log In to Comment