Page MenuHomePhabricator

D20337.diff
No OneTemporary

D20337.diff

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

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)

Event Timeline