Page MenuHomePhabricator

D9577.diff
No OneTemporary

D9577.diff

diff --git a/src/applications/people/event/PhabricatorPeopleHovercardEventListener.php b/src/applications/people/event/PhabricatorPeopleHovercardEventListener.php
--- a/src/applications/people/event/PhabricatorPeopleHovercardEventListener.php
+++ b/src/applications/people/event/PhabricatorPeopleHovercardEventListener.php
@@ -37,7 +37,9 @@
$hovercard->addField(pht('Account'), pht('Disabled'));
} else if (!$user->isUserActivated()) {
$hovercard->addField(pht('Account'), pht('Not Activated'));
- } else {
+ } else if (PhabricatorApplication::isClassInstalledForViewer(
+ 'PhabricatorApplicationCalendar',
+ $viewer)) {
$statuses = id(new PhabricatorCalendarEvent())->loadCurrentStatuses(
array($user->getPHID()));
if ($statuses) {

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 8:44 PM (21 h, 17 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6723020
Default Alt Text
D9577.diff (796 B)

Event Timeline