Page MenuHomePhabricator

D20337.id48533.diff
No OneTemporary

D20337.id48533.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, Mar 14, 10:40 PM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7674450
Default Alt Text
D20337.id48533.diff (558 B)

Event Timeline