Page MenuHomePhorge

D25683.1736614512.diff
No OneTemporary

D25683.1736614512.diff

diff --git a/src/applications/people/controller/PhabricatorPeopleController.php b/src/applications/people/controller/PhabricatorPeopleController.php
--- a/src/applications/people/controller/PhabricatorPeopleController.php
+++ b/src/applications/people/controller/PhabricatorPeopleController.php
@@ -16,7 +16,9 @@
if ($name) {
$nav->setBaseURI(new PhutilURI('/p/'));
$nav->addFilter("{$name}/", $name);
- $nav->addFilter("{$name}/calendar/", pht('Calendar'));
+ if (id(new PhabricatorCalendarApplication())->isInstalled()) {
+ $nav->addFilter("{$name}/calendar/", pht('Calendar'));
+ }
}
}

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 11, 16:55 (6 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1110759
Default Alt Text
D25683.1736614512.diff (659 B)

Event Timeline