Page MenuHomePhabricator

D7277.diff
No OneTemporary

D7277.diff

Index: src/applications/directory/controller/PhabricatorDirectoryMainController.php
===================================================================
--- src/applications/directory/controller/PhabricatorDirectoryMainController.php
+++ src/applications/directory/controller/PhabricatorDirectoryMainController.php
@@ -41,15 +41,23 @@
$tasks_panel = null;
}
+ $audit = 'PhabricatorApplicationAudit';
+ if (PhabricatorApplication::isClassInstalled($audit)) {
+ $audit_panel = $this->buildAuditPanel();
+ $commit_panel = $this->buildCommitPanel();
+ } else {
+ $audit_panel = null;
+ $commit_panel = null;
+ }
+
if (PhabricatorEnv::getEnvConfig('welcome.html') !== null) {
$welcome_panel = $this->buildWelcomePanel();
} else {
$welcome_panel = null;
}
+
$jump_panel = $this->buildJumpPanel();
$revision_panel = $this->buildRevisionPanel();
- $audit_panel = $this->buildAuditPanel();
- $commit_panel = $this->buildCommitPanel();
$content = array(
$jump_panel,

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 5, 9:43 AM (7 h, 3 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6828713
Default Alt Text
D7277.diff (1 KB)

Event Timeline