diff --git a/src/applications/people/customfield/PhabricatorUserStatusField.php b/src/applications/people/customfield/PhabricatorUserStatusField.php index 0b624706e0..5ea28c84d0 100644 --- a/src/applications/people/customfield/PhabricatorUserStatusField.php +++ b/src/applications/people/customfield/PhabricatorUserStatusField.php @@ -21,6 +21,11 @@ final class PhabricatorUserStatusField return true; } + public function isFieldEnabled() { + return PhabricatorApplication::isClassInstalled( + 'PhabricatorApplicationCalendar'); + } + public function renderPropertyViewValue(array $handles) { $user = $this->getObject(); $viewer = $this->requireViewer();