Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13982387
D9577.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.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
Sun, Oct 20, 10:51 PM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6723020
Default Alt Text
D9577.diff (796 B)
Attached To
Mode
D9577: Check for calendar before settings status
Attached
Detach File
Event Timeline
Log In to Comment