Page MenuHomePhabricator

D9577.id22951.diff
No OneTemporary

D9577.id22951.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
Sat, Dec 21, 6:56 PM (12 h, 33 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6915386
Default Alt Text
D9577.id22951.diff (796 B)

Event Timeline