Page MenuHomePhorge

D25683.1736835338.diff
No OneTemporary

D25683.1736835338.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
Tue, Jan 14, 06:15 (3 d, 19 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1110759
Default Alt Text
D25683.1736835338.diff (659 B)

Event Timeline