mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 03:12:41 +01:00
abb4c03b47
Summary: Every caller returns `true`. This was added a long time ago for Projects, but projects are no longer subscribable. I don't anticipate needing this in the future. Test Plan: Grepped for this method. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D15409
27 lines
801 B
PHP
27 lines
801 B
PHP
<?php
|
|
|
|
interface PhabricatorSubscribableInterface {
|
|
|
|
/**
|
|
* Return true to indicate that the given PHID is automatically subscribed
|
|
* to the object (for example, they are the author or in some other way
|
|
* irrevocably a subscriber). This will, e.g., cause the UI to render
|
|
* "Automatically Subscribed" instead of "Subscribe".
|
|
*
|
|
* @param PHID PHID (presumably a user) to test for automatic subscription.
|
|
* @return bool True if the object/user is automatically subscribed.
|
|
*/
|
|
public function isAutomaticallySubscribed($phid);
|
|
|
|
}
|
|
|
|
// TEMPLATE IMPLEMENTATION /////////////////////////////////////////////////////
|
|
|
|
/* -( PhabricatorSubscribableInterface )----------------------------------- */
|
|
/*
|
|
|
|
public function isAutomaticallySubscribed($phid) {
|
|
return false;
|
|
}
|
|
|
|
*/
|