Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14076220
D20337.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
558 B
Referenced Files
None
Subscribers
None
D20337.diff
View Options
diff --git a/src/applications/search/menuitem/PhabricatorConpherenceProfileMenuItem.php b/src/applications/search/menuitem/PhabricatorConpherenceProfileMenuItem.php
--- a/src/applications/search/menuitem/PhabricatorConpherenceProfileMenuItem.php
+++ b/src/applications/search/menuitem/PhabricatorConpherenceProfileMenuItem.php
@@ -17,6 +17,12 @@
}
public function canAddToObject($object) {
+ $application = new PhabricatorConpherenceApplication();
+
+ if (!$application->isInstalled()) {
+ return false;
+ }
+
return true;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 3:59 PM (12 h, 2 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6775258
Default Alt Text
D20337.diff (558 B)
Attached To
Mode
D20337: Don't allow "Conpherence" menu items to be added to editable menus if Conpherence is not installed
Attached
Detach File
Event Timeline
Log In to Comment