@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.

Don't allow "Conpherence" menu items to be added to editable menus if Conpherence is not installed

Summary: Depends on D20336. Ref T13272. Fixes T12745. If you uninstall Conpherence, "Edit Favorites" and other editable menu interfaces still allow you to add "Conpherence" items. Prevent this.

Test Plan:
- Installed Conpherence: Saw option to add a "Conpherence" link when editing favorites menu.
- Uninstalled Conpherence: No more option.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13272, T12745

Differential Revision: https://secure.phabricator.com/D20337

+6
+6
src/applications/search/menuitem/PhabricatorConpherenceProfileMenuItem.php
··· 17 17 } 18 18 19 19 public function canAddToObject($object) { 20 + $application = new PhabricatorConpherenceApplication(); 21 + 22 + if (!$application->isInstalled()) { 23 + return false; 24 + } 25 + 20 26 return true; 21 27 } 22 28