getObject(); $viewer = $this->requireViewer(); $statuses = id(new PhabricatorCalendarEvent()) ->loadCurrentStatuses(array($user->getPHID())); if (!$statuses) { return pht('Available'); } $status = head($statuses); return $status->getTerseSummary($viewer); } }