Page MenuHomePhabricator

D9582.id22965.diff
No OneTemporary

D9582.id22965.diff

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

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 24, 1:02 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7353220
Default Alt Text
D9582.id22965.diff (614 B)

Event Timeline