Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92679639
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
Fri, Nov 22, 17:10
Size
390 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 17:10 (2 d)
Engine
blob
Format
Raw Data
Handle
22485284
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