Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14371379
D9577.id22951.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
796 B
Referenced Files
None
Subscribers
None
D9577.id22951.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9577: Check for calendar before settings status
Attached
Detach File
Event Timeline
Log In to Comment