Page MenuHomec4science

PholioMockRelationship.php
No OneTemporary

File Metadata

Created
Fri, Nov 22, 17:10

PholioMockRelationship.php

<?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