@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
at upstream/main 28 lines 815 B view raw
1<?php 2 3interface PhabricatorSubscribableInterface { 4 5 /** 6 * Return true to indicate that the given PHID is automatically subscribed 7 * to the object (for example, they are the author or in some other way 8 * irrevocably a subscriber). This will, e.g., cause the UI to render 9 * "Automatically Subscribed" instead of "Subscribe". 10 * 11 * @param string $phid PHID (presumably a user) to test for automatic 12 * subscription. 13 * @return bool True if the object/user is automatically subscribed. 14 */ 15 public function isAutomaticallySubscribed($phid); 16 17} 18 19// TEMPLATE IMPLEMENTATION ///////////////////////////////////////////////////// 20 21/* -( PhabricatorSubscribableInterface )----------------------------------- */ 22/* 23 24 public function isAutomaticallySubscribed($phid) { 25 return false; 26 } 27 28*/