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
Sat, Oct 19, 1:02 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6732253
Default Alt Text
D7277.diff (1 KB)

Event Timeline