@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 19 lines 395 B view raw
1<?php 2 3abstract class PholioMockRelationship 4 extends PhabricatorObjectRelationship { 5 6 public function isEnabledForObject($object) { 7 $viewer = $this->getViewer(); 8 9 $has_app = PhabricatorApplication::isClassInstalledForViewer( 10 PhabricatorPholioApplication::class, 11 $viewer); 12 if (!$has_app) { 13 return false; 14 } 15 16 return ($object instanceof PholioMock); 17 } 18 19}